Computer programming once had much better gender balance than it does today. What went wrong?

I found this ironic in the article, regarding the very first successful woman they profiled:

Could it just be as simple as males on average prefer working with things and females on average prefer working with people?