EU has much stricter labor laws and general culture is oriented much more towards work-life balance. However, the ratio of female programmers in larger in less developed countries like India and Iran, and within EU I believe it’s Bulgaria, one of the poorest. This may be attributed to more opportunities for women to have a decent salary and be respected in fields other than STEM in rich European countries.
https://www.theatlantic.com/science/archive/2018/02/the-more-gender-equality-the-fewer-women-in-stem/553592/
It doesn’t mean women are less capable to go into STEM fields, or might enjoy them less. I have a friend in Paris who used to work for a French branch of a large well-known IT company, first as a programmer, then a manager. She liked her job but finally got tired of it, became an elementary school teacher and is enjoying it very much.