Browsers on iOS devices sometimes reload pages automatically, and this can sometimes cause the user to be logged out.
This is a common frustration with Safari on iOS (example), and may be less common on newer devices. Suggested workarounds include turning off “Background App Refresh” in Settings:
To do this, go to Settings > General > Background App Refresh, and turn this feature ‘OFF’