Traditionally "Mac OS" -> "[Mac] OS X" -> "macOS"
It was often compacted to MacOS for various reasons, like brevity, keyword searchability and tagging.
It was often compacted to MacOS for various reasons, like brevity, keyword searchability and tagging.