It's a bunch of things. In the old days, if you bought software in a box for your OS (let's say DOS), you didn't expect it to need to be updated. It also continued to work just fine and maybe you didn't update your OS that frequently or had security issues to worry about. Nowadays, iOS gets updated every year and APIs get deprecated, and users update, so you have to maintain the app after initially shipping it.
A lot of people also expect the software to add features over time. In the old days, you'd ship a brand new major version and charge people for that and stop working on the old one. With the App Store, I suppose you could technically abandon the old version and sell a whole new version, but then all your old users will be annoyed if the app is removed from the store or no longer works when they update their OS. You could gate new features behind a paywall, and I know some apps do this, but then it adds to the complexity of the app as you have to worry about features that work for some users but not others.
I think people also expect software nowadays to be cheap or free, I think due to large corporations being able to fund free stuff (say gmail) by other means (say ads or tracking users). That means users would balk if you asked them to pay $50 for your little calendar app, so if you did ask for a one-time payment, it would be $5-$10, which is nowhere near enough to recoup whatever time you spent, unless you hit it big. Hitting it big nowadays with an app is difficult since there's so much competition in the App Stores and everyone has raced to the bottom to sell apps for pennies.
Actually people don't expect it to be updated in most cases. In fact, Apple is generally forcing their hands with constant nagging to update and the psychologically taxing red notification dot that people do not know how to get rid of.
Most people would be just fine buying a phone as it is and using it as is for the rest of it's useful life. But they can't, because Apple came with a clever marketing trick to make things easier for them: "free" updates for everyone. This way they get to keep working only on one OS version, deprecated stuff aggressively and largely no need to care about security patching stuff after a few years.
If you are in the "ecosystem" they will force you to upgrade your OSs to be in sync if you dare use one of their apps since they are tied to OS release (dumbest things ever, but of course it's on purpose).