AMD CPU's Bluescreens pc when game crashes

So i can be in game one min then next my game crashes and 2 seconds later my PC Bluescreens and it only does it on this game

Ryzen 7 3700X

You should be posting this in technical support and then fill out the support template, there is zero information to work with here.