macOS is a capable UNIX, but it's not Linux - which has since become the standard platform for most cloud/web/ML development.
As a developer myself who uses Fedora Asahi Remix as my daily driver, I can also tell you that Linux runs 2x faster (often much more) for everything compared to macOS - on the same hardware! And that performance gain is also important for my work :-)