Because 50% of humans are female. If there's a strong deviation from this in a large sample size, then there must be a correlation between being a woman and in CS. If gender didn't matter, there wouldn't be a correlation.
Why are so many professional basket ball players black? Racism?
There is an implicit assumption in this and its validity is assumed. It is not being questioned.