The idea that video games are especially important to boys is partly a stereotype, but there's a grain of truth behind it. Many of the most heavily marketed popular games revolve around action and competition—elements that a lot of boys are drawn to.
Of course, plenty of girls enjoy those same games, and interests vary enormously from person to person. The "boys love games" idea is more about marketing trends than any real rule, so it's best taken with a healthy dose of perspective.