People will tell you that believing that it's possible that interest in tech is correlated with gender. However I would point out "Gender Gaps in Performance: Evidence from Young Lawyers"[0] which gives evidence that a different field (law) is a meritocracy and women's relatively poor outcomes in terms of promotion, are caused by their relatively lower focus on their careers.
[0] www.econ.upf.edu/~rferrer/files/PAPER.pdf