I think, these habits mostly grow up in men , depending on how they see women are treated at their own house while growing up.
Also, even though most of the closest friends I have are my female friends, it is also true that women are the worst enemies of women.
Most of the worst politics that I ever faced was from a group of girls, from middle school.