In most cultures and societies males start life on the female side along their mothers. They are special, they are beloved, they are cared for – but they are also objects. When entering adolescence and adulthood, males are essentially losing their identity. They are no more special or unique, they are disposable (as in "women and children first") — and they have to accept this insult. They have to redefine themselves. Moreover, there are some preconditions in most cultures to becoming eligible as a subject. Some of these are related to inheritance, but it really goes a bit deeper than that. So, if they are not born rich or not the eldest son, they are asked to prove they were eligible for being a valued member of society. One way to do so is founding and supporting a family, but there are also preconditions here. To most, the final proof is showing their willingness and to prove being able to "burn themselves" (sometimes literally as in the trenches of war) for societies sake, to accept disposability. (Staying up late coding is yet another way of burning yourself, while not that drastic.) — This may be underpinned by an institution known in some cultures, the institutions of "sworn virgins", where women would enter the male side on the precondition of never returning the realms of female definitions. Ever thereafter they are part of the male side and accepted as males, but they also have to adhere to the socials contracts related to this definition. — Following to this, war is a major means of regaining identity and uniqueness – and becoming an eligible member of society. Small wonder that this often connected with pride.
In my humble opinion, these patterns are also to be observed in the discussion of gender diversity in IT and other male dominated environments. Most of the objections and/or insults against females are rather pretexts or symptoms for a basic mistrust against members who do not adhere to the laws of disposability. (Problems often evaporate as the gender-definitions are crossed by "sworn virgin coders". But this isn't a solution to the problem at all.) In this context, the presence and acceptance of "real females" is a real threat to the construction of these environments. This isn't just a show. It's more about accepting that these are not protected realms of males joined in their attempt to become eligible to the honors of society, accepting that these environments are rather part of society themselves. (So, is coding war? Swallow your pride. Nobody should be forced to burn. Does this align with the structures of business as we know it? No. – Hint: Businesses are not only burning money.)