Does it happen only when you switch to that particular app? If Safari doesn’t refresh when you switch to a different app, then that app may be hogging resources for some reason.I appreciate the info, this makes sense.
As far as the last part, I shut down all the apps on my iPad and rebooted it. I restarted it and opened only one tab in Safari on my bookkeeping website and opened one other app to get the info from. When swiping back-and-forth it fully reset the tab in Safari, deleting the numbers I entered.
Thanks again everyone for all of your help and allowing me to vent.
(Side note- some apps also are coded badly and refresh every time you switch away from it for even a moment. I remember Gmail app would do this when you did a search, all the results would disappear and it would reset to inbox every time. I think they fixed it but this was a problem for years.)