Another cause is that Apple and Microsoft are now service vendors, and they want to sell you subscriptions to Apple {Music,Arcade,TV+...} or Xbox Game Pass, and they also have app stores where they want you to buy things. The services and apps aren't necessarily bad, but they also tend to add more daemons.
Finally, security has been a terrible issue since mainstream operating systems and apps were not designed to be secure (which admittedly is very hard!) and customers usually prioritize features and performance over security and reliability. Apple and Microsoft have tried to become more security-conscious but this has also made the systems less usable and added anti-malware daemons that do annoying things like phoning home to check if an app's developer certificate has been revoked, or repeatedly re-scanning files to see if they match a newly updated list of malware signatures.
Atm Mac OS seems like the least shitty option (mind, not the best, there is no best) so I mainly use that.
Divide and Conquer.
Millions of users against •one• company.
Resistance is futile. Users adapt.
I long for the days when all that was running on your computer were things you commanded it to run, not things that the OS vendor wants running at all times for whatever (nefarious or otherwise) purpose.