Graphics keep reverting to low when playing campagin and slme unsaual framerste

Alright when i play versus horde and escape my game runs fine but when i play campagin diffrent expierence graphics keep reverting to low when j have it on ultra and most of all unslaul framerate what did i get from a story mircosoft my gpu is good but getting the rx 580 8 i have the 560 and everything else is good and yet i get dis

Hmm? Could you tell me your whole setup and I could help you to the best of my knowledge, I know the rx 580 is a solid card but are you on a budget setup or?