https://www.technologyreview.com/2021/03/01/1020089/apple-walled-garden-hackers-protected/

Basically, the "Walled Garden" which is the tightly controlled unique control of features and security for the iPhone, Isn't impenetrable. The purpose of it is to protect the phone from outside hackers. But if a highly advanced hacker gets passed that, from there on, it's as if what was meant to protect your phone from harm ends up protecting the harm. One piece of information that I personally found interesting was this things called zero-click exploits that let them take over iPhones invisibly.