Op said "sent a message to a friend", it made no reference to facebook
Gmail famously scans the user emails to sell the info to third parties and sell adds
Ought be noted that while WhatsApp to my knowledgeable doesn't carry such a clause. It would be idiotic beyond belief to be led to believe that Facebook doesn't do the exact same thing