Closing your browser doesn't actually close your browser.
"Continue running background apps" is on by default in Chrome, Edge and Brave. It keeps processes alive and eats up to 1GB of your RAM while you game.
Settings → System → turn it OFF.
Your game has been starved of RAM this whole time.