Another possibility: Women in poorer countries enrol in CS out of necessity. In wealthy countries, they have more economic freedom and there are more jobs available higher up on Maslow's Hierarchy, so they enrol in what they actually want (which is not CS).
On average.