Think about the last time you were mean to someone. Same reason.
It’s pointless to spend time wondering why some girls are mean. Some girls are looking for a fight, and nothing you say or do will change their posture.
Your time is better spent considering how you can be more empathetic in your very next interaction, because you have been mean before too.