War Thunder kicks me back of game but doesn't close during games usually in close dogfights

So recently I have noticed that sometimes during dogfights the game kicks me back onto the home screen of my laptop and doesn’t let me reopen it right away and kinda glitches. The sounds can still be heard but when firing guns the guns noises just spam until I can reopen the app. Most of the time by the time I reopen War Thunder I have either crashed or been shot down. Most of the time it happens in close dogfights or when I am close to the ground so I think it might have something to do with textures but I am not sure was hoping for a more professional opinion then my own. I haven’t had any changes in what I play War Thunder on. I am wondering if there are any recommendations to solve this or how to prevent it from occurring again.