According to this it is mostly interests, not abilities, that cause the current occupational patterns in gendered/sexed careers, and interests are hard to change as they are stable and highly heritable. I think this is plausible given that interests are likely phylogenetically older than intellectual ability, given the division of labor in our more ancient ancestors such that females did much of the child care.