The fact that most women don't want to engage in programming is not a natural phenomenon - it's a big part of the problem. Far too many girls don't even consider trying to program, and regret that later in their lives.
The first programmers (in a certain sense, wiring the first calculation machines in certain ways to achieve certain results) in fact were women, but something badly changed since then.
So the missing women in computer science and programming can't be explained that way. This phenomenon is far more likely to be a problem (and also a shame) of our society. We'll have to work hard to fix it.
However, fixing a problem is only possible if you don't deny it.
The first programmers (in a certain sense, wiring the first calculation machines in certain ways to achieve certain results) in fact were women, but something badly changed since then.
So the missing women in computer science and programming can't be explained that way. This phenomenon is far more likely to be a problem (and also a shame) of our society. We'll have to work hard to fix it.
However, fixing a problem is only possible if you don't deny it.