de0u Secure boot on desktops/laptops generally trusts an enormous number of keys for the firmware and doesn't have any rollback protection. It also doesn't usually verify all the firmware, only portions of it. There's privileged firmware not covered by it. The fact that you can swap the CPU between motherboards, etc. on a desktop prevents having proper early secure boot, as does the overall mess of the ecosystem. The firmware is also highly insecure in practice. Verification of the OS is only done by verifying the kernel, and again it's usually against a huge list of keys. It never supports downgrade protection. TPMs are either an insecure emulated firmware feature (fTPM) as part of the badly secured firmware or an insecure discrete chip without authenticated encryption pairing it with the SoC. TPM APIs are horrible and not comparable to the proper secure elements in an iPhone or Pixel. That's only a tiny portion of the overall mess. Desktop operating systems have awful privacy/security, lacking basic exploit protections, app sandboxing, sandboxing throughout the OS, etc. It's the norm to not have proper firmware and driver updates there. Firmware update situation is even worse for desktop Linux where available updates are even less likely to be available to install. Motherboard / TPM firmware updates often require wiping all the data stored by those and can't be automated. Features like reset attack mitigation are missing or incorrectly implemented so operating systems can't try to use them. It's far more of a mess than that and we don't want to go into much more than this.
Macs have addressed nearly all these issues other than the OS being fundamentally less secure mainly due to lacking mandatory app sandboxing, a comparably strong app sandbox and having much weaker, barely useful verified boot. They're not far from turning macOS into being comparable to at least older iOS security but are very much held back by backwards compatibility and the lack of interest in a lot of their ecosystem in adopting optional features that are mandatory for iOS.