That’s an opinion. Apple’s take is that they sell ”everything that runs on your phone has gone through our reviews, so you can trust it isn’t malware”
That, in their opinion, makes it their job to prevent people from permanently installing software on other people’s phones. I’m sure they would remove the “permanently” if they could, but developers have to test builds so frequently that they can’t review them all.