Mine (Android Firefox) does it when I have a YouTube video paused and do something else for a bit. Whenever I stop watching a video, I have to screenshot it so I know the timestamp to try to get back to later :-/
App battery usage is unrestricted, so it's not that.