Earlier quoted context omitted.
I've seen reasoning elsewhere along the following lines: Because there is a stronger economic incentive in Middle Eastern countries compared to western countries, more women go into STEM fields.
Could it also be that there is still a bit of a stigma in male circles, for that type of work? Traditional male stereotypes in the Middle East are still very, very well-entrenched; sitting at your desk "playing" with computers is probably not respected as much as elsewhere.
More women choose STEM in college in the Middle East because the humanities contradict their religion (unlike STEM) and women are on the whole more religious than men.