Suppose you honestly design and code an app with the intention that it should always work. But despite your efforts, you accidentally overlook something that will eventually cause your app to fail or have a bug that impairs its functionality, either immediately, or at some point in the future, due to something like an OS update.
Can people who paid for your app sue you over this, when your app eventually stops working? I.e. on the basis that they paid for a product that eventually become defective.
Suppose the app is not some kind of super-important business application, but something simpler, like a game, or storybook etc.
*edit: suppose you are selling it on the Google or Windows store.