What will really blow your mind is having a conversation around your phone and getting ads from that conversation.
That happens.
And no I have no clue other than ****
Ok and you are wrong but enjoy that thought amigo.
Ads are based off of sites you as user visit and cookies are accepted/downloaded into your personal server thus displaying ads based on your search history over time.