Computer games are popular for many of the same reasons movies are: they tell great stories, often with satisfying endings, and they transport you into another world. The key difference is that in games, you're not just watching the story unfold, you're the character living it.
That sense of agency and immersion is a huge part of the appeal. Rather than passively observing, players make choices, overcome challenges, and shape their own experience, which creates a powerful sense of involvement.
Other factors play a role too. People often turn to games out of boredom or a desire to try something new and exciting, and the sheer variety of genres means there's something for virtually everyone.