This is likely because the app has been cached by the OS and then once it loads realizes it needs to prompt for authentication again. I see the same thing happening with work apps like teams and Outlook where it opens to what I had been previously looking at before locking and asking for authentication.