See https://en.wikipedia.org/wiki/Women_and_video_games#Demograp...
"While 48% of women in the United States report having played a video game, only 6% identify as gamers, compared to 15% of men who identify as gamers. This rises to 9% among women aged 18–29, compared to 33% of men in that age group."
They might play a game now and then, but women are less likely to identify themselves as "gamers" or to think of gaming as a part of their identity. When we think about creating an inclusive environment where students can see themselves in the career, this is the sort of statistic to consider.
As parent said, all it matters is writing code and if women aren't interested in that as much men typically aren't in professions usually filled by women, that's their choice.
It's easy for CS teachers to get boys excited by introducing a new topic with something like "these algorithms are important in VIDEO GAMES!" Boys are vastly more likely to play video games than girls, so this example will likely be much more motivating to boys than girls.
Girls are often socialized to highly value a career that helps other people. An example like "these algorithms are important for helping doctors determine which patients have cancer" may be more inspiring to them.