Is there something wrong with that?
The idea that you need to super passionate for your job and practically live and breath it seems to be a fairly common attitude around HN and the tech community in general.
For me software engineering is just a job. I enjoy my work, sure, but I wouldn't do it if I wasn't getting paid. Most people in the world have a similar attitude to their work. I don't think the secretary in my office goes home and makes spreadsheets and types word documents. My friend who's a plumber doesn't go home and stick pipes together for fun.
I think that the difference is that in the West, we have more options for careers that offer a comfortable life. Trades pay well in the West, my tradie mates here in Australia make as much as I do, or even more. This isn't the case in the developing world, where there is a stark difference between white collar and blue collar wages.
How is this not the case for software devs in the States? There's plenty of people who joined dev bootcamps because of the possibility of a six-figure salary. Considering how financially-driven many developers in the Bay Area are, I think their interests aren't too different from our Indian compatriots. We're all looking for a way to pay rent, hopefully buy a house, and pursue interests outside of work.
My Indian colleagues through the years (male and female) have been no different in their commitment compared to colleagues i have worked with in Europe, US, Australia for several years.
And I should add that at least the companies i have worked in "give a shit" about women in the workforce. I don't know whether we have more women that the US - but we definitely have much fewer than there should be - so there is no need for being self-congratulatory. My company (with about 1000+ people) has several policies in place to hire more women and make it easier for them to resume after a break. And i think we are far from unique.
That would explain the attitude of a lot of workers at the big offshoring companies.
Engineering, medicine, business covers most choices that pay well, and there is demand. Business in particular is a catch-all which will let you get into any industry that pays well.
Of course there are niches outside of them that need a few smart educated people, but they are niches that can only take support a few people and get saturated easily. We have "starving artist" as an expression in English for a reason: there are a lot of great artists that will never really earn enough for more than the cheapest food and shelter with nothing else left over. (there is nothing wrong with such a lifestyle if you are not in my family - if you are in my family we want better for you, and in particular the grandchildren which your life will not support)
Though people here are quick to jump to a managerial position since it's less stressful and the pay is more.
The reason for the somewhat balanced gender ratio here is much more mundane than what these articles would make you believe.
In India, engineering is one of the "default" career paths for most poor/middle class families children for leading a stable life. It's pretty depressing honestly, children spend the first 20-22 years of their life being a book-worm and they get to choose from a set of "acceptable" careers (Engineering, Medicine, Business). Any unorthodox career paths are out of question unless you are the rebellious kind.
What effect does this have on the workforce? You get people (both men and women) who are barely interested in what they do. Programming/Computers doesn't mean anything to them, it's just a day job which helps them provide for themselves. This is the main differentiation between the US/European workforce and ours. It's not that women here enter the CS industry in greater numbers because of their own interest in the field, it's just that nobody gives a shit about it so the ratio is equal. This is the case with the service based companies which comprise a huge portion of the workforce. The number of women in startups (which people join on their own volition) is comparable to the US counterparts. The current company where I work, out of ~60 engineers, 4 are women.
In US/Europe, you have greater freedom and choice when you consider your career, which you generally choose based on your own interests. IMO, inculcating tech/computers as a hobby at a young age in girls and dispelling the fact that it's only for "nerds" will do a lot more to equal the numbers than any affirmative action hiring ever will.