They work better in Linux than Windows, not to mention backwards compatibility.
EDIT: I may be wrong about newest printer models, 2020 and above.
EDIT2: Hardware problems are an entirely different issue.
I’ve found Mac OS is by far the best OS for getting printers to work tbh
It used zeroconf/bonjur out of the box when no one else used it (or had to do some serious configs in order to get it working), that’s why. And, of course, since it’s the second most used OS other than Windows, printer manufacturers configured avahi/zeroconf/bonjur out of the box on their printers.
OSX and Linux both use the Common Unix Printing System. It works more or less the same on both systems.
I don’t own a Mac outside of my work laptop. Like OP said in another reply, it’s likely because vendors pre-configure the system to work out of the box on Mac OS.
It’s just my anecdotal experience but writing off my comment as me justifying a purchase (that I haven’t made) is just silly and lazy discussion
FWIW, I use Linux on all my personal machines
I learned that the CUPS config on Mac, at least as of about a year ago, was set to save a copy of everything ever printed to an obscure directory on the machine. Was discussed in relation to setting up a secure encryption scheme where you print out your keys, wouldn’t want something like that just hanging out for any malware to come gobble up.