What just happened here?

I asked a question anonymously, about a situation with a guy I knew and liked. A girl answered and was really nasty about it, a bit more than just honesty. More of an attempt at a personal attack of ‘he’s never liked you. Find someone else!’ Then the guy I liked unexpectedly read my message, remembered me and stood up for me and made her look stupid. I was grateful to the guy, the whole thing was random though. He occasionally answers my questions on here, if they relate to us or our friends. I’m a bit clueless about social cues. I only just observed what happened.

What just happened here?
Post Opinion