Because companies strive for the best possible candidates, and 50% of those are women, regardless of what they happened to major in. The gender-imbalance in computer science is an artificial barrier, exactly the kind that should be statistically eliminated by a thorough equal-opportunity application process (http://en.wikipedia.org/wiki/Equal_opportunity)