The developer literally just need to check a box in most cases. But many popular apps haven’t been ported to mac, maybe because the experience on a non-touch screen is not great or because they don’t want to add a layer of complexity for their support teams. It’s up to the developer, but I can see there are reasons to not allow an iOS app to be distributed on macs