GMs are players too!
It’s really easy to think that the GM is somehow separate from the rest of the player group. They’re behind the GMing screen running the game. Controlling the monsters and villains that kill your characters.
But really, your GM is just trying to have fun, too. Just a little bit differently. Maybe they love world-building, or plot-writing, or playing all the NPCs. Maybe they just need an excuse to get everybody together and hang out.