Disclaimer: This is the forum for zh-cn locale. However, I'll support you in English since the questions is in English. If you need support in your local language, please let me know.
Hello Eferinte 林,
Welcome to Microsoft Q&A forum.
When you shift your focus away from an app. As an action of protecting and optimizing, GPU drivers will attempt to reduce the resource of the apps, which led to the FPS drop. This could be a settings rule of the game itself or from the GPU driver. GPU companion apps might have an option to set this value, for example "Background Application Max Frame Rate." in NVIDIA control panel. Can you please try to check it first and change the value to see if it helps?
I'm waiting for your reply.