And I'm pretty sure, Apple will also use that argument to lock down macOS at some point... They already "prepared" M1 machines a bit as now
every piece of software has to be signed (if it's ARM64 native). So all your open source CLI software needs to be signed (which package managers like homebrew do on-the-fly during install).
Downloading "potentially" malicious code and signing it, doesn't do anything for security or privacy.
If your security relies on reviewing apps, you have (almost) no security.
And there was always malware for iOS and security holes. A jailbreak is technically abusing a security vulnerability to modify the OS and most iOS versions could be jailbroken. Sometimes even by just visiting a webpage through Safari.
And there was also that one
https://en.wikipedia.org/wiki/Pegasus_(spyware) one of the more known spywares for iOS.
The current situation is problematic. Apple always yells about how secure their app store is. And still it's full of scam apps.
Maybe it's better when people will learn to use their brain and understand that the internet is like wild west. It's always better to think twice on your own instead of letting others think for you.
The most "important" thing Apple does is protecting their money (which is not surprising because every company does that).
They should just have the balls and say: "No we don't allow side-loading because we would loose money then."
Macs are pretty secure. Like Windows, their security are mostly dependent on the user's actions.
Most malware these days needs to be actively installed by the user to get into the system. If you download and install only reputable software and no shady crap, your chances getting infected is pretty low. Why shouldn't the same apply to iOS?
Apple could just do it like Android. Sideloading is disabled by default and has to be enabled through a menu that's a bit hidden. Apps should still be code signed. If that makes iOS completely insecure, then iOS was never secure to begin with.
And now I will wait for the Apple bootlickers to downvote me to hell.