I'm pretty sure it has something to do with women being pursued by men at that age and generally having better things to do than sit in front of a computer screen throughout their teenage years.
Then, by the time they have to pick a university program, they feel so far behind the computer nerds that they don't feel they can compete or succeed in tech. That and they don't want to be lumped in with the socially awkward nerds that they associate with tech by that point.
Just my hypothesis, of course.