There’s a widely held opinion in gaming that women generally suck at gamimg.
My two cents is that there’s simply not many women into video games due to lack of interest and the few who do get either sexist attacks or obscure enough to go unnoticed. This creates a cycle where elitism combines with existing lack of interest to scare off any potential newcomers which means there’s less of an incentive to be skilled which feeds into elitism.
Obviously there is nothing inherent in video games that would make women magically suck at playing them.
It’s mostly the second one you mentioned, that they have to deal with an uphill battle against sexism. Ask any woman what happens if they play an online MP game and dare to speak on voice chat. Same goes for things like STEM fields. I will note that in my country it is much more accepted for there to be women gamers and consequently they have to deal with less prejudice/there are more of them (though it isn’t perfect).