Not that I agree with the idea of predetermined castes based on genders, I'd just like to point out that some of the most lucrative STEM fields such as biology, chemistry and medicine are currently at least 50/50 and sometimes more than that in favor of women. It's only a few very specific fields such as maths, computer science and physics where females are still underrepresented. At my own university, the ratio of male to female in medicine especially is staggering; it's a complete flip from what it was a few decades ago.
At this rate, I wouldn't even be surprised if we ended up having to worry about not enough men attending university in the coming years. Females are already over 50% of the graduates in many universities. There are still inequities in many areas regarding sex issues, but I don't think university attendance is the largest. Again, a few fields have the issue, and we should definitely look into it, but it'd be a good idea to acknowledge the progress made instead of blanket statements like "STEM" as a whole. My biggest question, honestly, is why biology and related fields have had such a huge intake, but not physics or maths? Is it that maths are considered "for men"? Can it be related to neurological differences, or not? Is it more of a societal problem? Even more importantly, can we correct it?