Possibly because the cost for entry to macOS is higher than with iOS. Most people are able to run a Windows computer at very little cost, and will never have any interaction with a Mac. Meanwhile, iPhones and Android phones are (broadly) on a par in terms of cost.
I will say though, speaking as someone who's used Macs since 2007, as much as I'm no fan of how Windows works, I won't give anyone shit for doing so. But I used to get quite a bit of vitriol for my choice of computer.
Meanwhile, iPhones and Android phones are (broadly) on a par in terms of cost.
This is only true if talking about mid-high end phones (and probably only high-end), you can get really cheap Android phones, incredibly cheaper than Iphones.
I was gonna comment that this exact post was made a few days ago with the only difference being Mac vs Windows instead. Seems you're already aware, and you're just farming. Nice.
Mac is genuinely a better experience. I say that as a user, as a dev, as someone who likes to throw their laptop in a backpack and not have to worry about the charger. I like the Linux-lite os, I like the screens, I like the universally premium feel to their chassis.
But damn, have Macs gotten ridiculously overpriced. Paying 150% for something you can count on to be more polished? Fine. It's premium
But paying triple? I'd rather learn to tunnel into a desktop through vscode and get something thin, nice looking, and inexpensive enough to replace (even if the thermal properties are horrendous)