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.