But in countries with less economic insecurity this motivation to work in a field without an inherent interest simply isn't there. Perhaps this motivation is different across genders in wealthier countries (men are more likely to go into fields they don't like), or men simply like technical fields at higher rates.
Advertising, makeup, dolls, television, films play a bigger part than the so called sexism that exists in engineering cultures
More importantly, you're right though, I have zero evidence backing this up, or going against it. I just don't feel like it's very right.
There are pink hammers, pink calculators, and plenty of other pink tools that would otherwise not be gendered. A black handled hammer isn't masculine, it's gender neutral, it's functional.
You can't simply be a woman, who is in the tech industry, you have to be a "woman in tech"
In some countries programming is seen as a good job for women because it's an indoor job, maybe you can be in a predominantly female environment, it involves typing, it's not that prestigious so you're not fighting to climb a career ladder. It's a commodity job so you can enter and leave the workforce as necessary to deal with family issues.
None of these things is really about the work that needs to be done, unless we're talking about work that absolutely requires upper body strength. It's all just framing, perception, almost marketing. That's why I find the gender essentialist stuff nonsense. Why is being a top chef a male job and a home cook a female job? Because one requires bluster? You will often find that in countries with fabulously successful women programmers, mathematicians, scientists, engineers, these jobs are just considered jobs rather than Magical Jobs for Extraordinarily Smart Ninja Rockstars.