When developing your app you actually build a version of the app that your users will download and use but when you make an update to your app and publish it to the store you are not sure if all your users will update their version of the app or not, then you have to deal with fragmentation
Fragmentation is when not all users have the same version of the app unlike website that actually serves the same version of the website to all users, in the mobile world you will have to deal with latest-version users and with users that still have that version with that bug or that legacy API that you plan to shutdown
With OTA updates all your users will automatically receive the latest version of your app, remember that Messenger UI update that occurred on your mobile without having updated the app from the store? well that was an OTA update
You should configure your app to support OTA updates from day one so all versions of your app can be updated, even the legacy ones
It depends on your platform and how you built it, by the way there is some links to help you :)
Deploy a Live Update : Article Link
Ionic Appflow : Appflow
It's slightly more difficult to configure over-the-air updates in native android and iOS apps :/
Update android application using OTA : Link