Maybe they don't want to be caught, as Greenspun spelled out. The women with the ability seem to have a better life perspective than the men, on average. They prove their better understanding of mathematics by working out the bayesian priors and adjust career goals accordingly.
Anyway, at 14, I remember that my double-science class was almost entirely male, perhaps 5/25 girls (about 100 people in my year in total). Drama and English had the opposite ratio. Only those 5 girls would even have had the option to take a science or engineering degree, 10% of the females in the year. Now we all know you don't need one of those to work in IT, but still, if you want girls in the field, that's where you've got to catch them.