I’m no technology expert but it likely has something to do with storing memory or using something like cookies to remember where you were in the app. If it’s an app that runs in the background, closing it might use more RAM because the app is caching data to remember things the next time you open it
Latest Answers