Why would a guy tell his friend who likes me that we had sex?

Anonymous
He’s friend who knows him for years sent me a message telling me that he asked him if we know each other and showed him our messages and told him we had sex. He told me that since he knows him he’s probably jealous.
I mean, if he doesn’t want anything serious with me why is he doing this? His friend and I were talking long time before we added each other on Facebook we don’t know each other personally only through Facebook.
Updates
7 mo
We only share memes and that’s it. I even showed him our convo because he asked me and it’s only memes or us leaving each other on seen because we don’t know each other in person
Why would a guy tell his friend who likes me that we had sex?
4 Opinion