There are many reasons why the app might have terminated on your device.
The most common one is caused by the Android system itself in order to save the battery or prevent background data collection. Check out the guide on how to set up your device to prevent this from happening again.