It directly hurts a boy's ego if any girl rejects him or tell his shortcomings. And most of the guys can't even bear this. So, they get serious and then say or do anything that they should not.
Here is a story about the guy who met a girl online. The girl didn't find him according to her imagination and rejected him. This left the man furious. See, what next he did?