And then you have to ask, what makes the gender less interested in the topic?
A lot of the time people think this is just throwing gifts to people from certain demographic to compensate for their disadvantages, but it is a tactic to attract more people.
Some girls participate at certain event and get recognition and then you get other girls to say "oh! I could do that too!"
Word get out that a bunch of women/black/latin@ got into Recurse center after being granted sponsorships and you get more women/black/latin@ applying to more places like it around the world.
There is an implied assumption that there is a moral duty to help get more women in to CS. I have yet to hear a reason for this that does not reduce to "Just because". (e.g. the notion that in ideal, fair world, programming jobs would be split 50/50, which is basically an article of faith, opinion.)
Is there less interest because a woman or a person of color looks at the field and sees that no one else there looks like them?
Or, more to the point, the people in the field all look like the one group that has historically dominated everyone else?
Maybe that's discouraging. I'm guessing it is. I don't have the lived-in experience of it because I'm a white male, but I do like to keep my "I'm right and I know everything" attitudes in check when I talk to women and people of color, and ask them about their experiences. One minute of listening to people is worth a million speculative web forum comments.
This is a near-daily discussion topic for me. One of my best friends is a very successful doctor and financial expert who happens to be black. He has something of a personal mission to teach financial literacy to black teenagers, because they see so little of it growing up (and I grew up without it, too). He firmly believes that software and engineering are the best path to middle class success for smart kids of color, but he's always struggling on ways to encourage it.
(How would we falsify this?)
This affects the really poor: for example, if you're working three retail jobs just to stay afloat, you're not going to have any time to hone your skills or hobbies.
which by no means will ever get you a job in the tech industry. Nice hobby, though.