The original intent of the iPhone was not to have 3rd party apps at all. Web apps were how developers were supposed to deliver to iPhone users. At the time, web apps weren’t as good as they are today and the market demanded local apps. Jailbreaks happened quickly, delivery systems like Cydia were set up. Apple either had to deliver their own official methods or play a cat and mouse game with hackers while trying to gaslight the public that websites were better than local apps.
Historically true, but the original intent quickly dissolved once they app store took off and they realized the cash cow they had on their hands.