The better paid the job is, the more ambitious people choose it against their preferences (e.g. lawyer/doctor/banker). The push for low gender ratios correlates quite nicely with salaries - the push for more women in programming has only started after programming became a more lucrative job, and there is much less push for more women in construction/men in nursing. I imagine being a programmer was comparatively better paid in India than in the West.