If I had to guess randomly, it could be: 1. Your web extensions that have access to your browser history sending that info to FB 2. Device proximity with web browser-sync on the phone. 3. Voice recognition. Of course, FB & IG is listening in your phone, whoever thinks that conspiracy theory hasn't been paying any attention to the ads they get.