It's not that Apple doesn't want games on macOS—they do. Now that nearly their entire product line is running on Apple Silicon with their GPUs, Metal is the best way to write game code that can run on Macs, iPads and iPhones.
From their press release [2]:
Metal 3 — the latest version of Apple’s graphics framework — comes with new features that enable game developers to tap into the power of Apple silicon for even greater gaming performance. MetalFX Upscaling enables developers to quickly render complex scenes by using less compute-intensive frames, and then apply high-quality spatial upscaling and temporal anti-aliasing. The result is accelerated performance that makes games feel more responsive and graphics that look stunning. Game developers also benefit from a new Fast Resource Loading API that minimizes wait time by providing a more direct path from storage to the GPU, so games can easily access high-quality textures and geometry needed to create expansive worlds for realistic and immersive gameplay.
Game developers that integrate with Game Center can now add Activity views into the dashboard, making it possible for their users to see which games their friends are playing and their high scores. And with SharePlay support, it’s easier than ever for users to play together in real time.
[1]: https://youtu.be/q5D55G7Ejs8?t=4867
[2]: https://www.apple.com/newsroom/2022/06/apple-provides-develo...