This does not quite jive with enrollment at my university. I am thinking specifically of maths as compared to other STEM fields. Of all seriously theoretical courses, maths has the most women, last time I checked, it was pretty close to 50/50.
Yet, math is much less collaborative than physics, that is the understanding has to be your own. If there is a people part to either, I'd argue its physics because it is closer to an application. I suppose one might say that maths has more of a people part, because much of math in practice is communication. That feels like stretching a definition though.
When looking at the enrollment numbers, what is most striking is the difference between CS and maths. Whereas maths is about 50/50, CS seems to be below 10% female. As far as subject manner is concerned, I'd say these two studies are very close. And yet, maths is way more popular.
Based on this, I'd argue that the low enrollment in CS has nothing to do with the subject matter, and much more to do with how comfortable women feel in either group.