Screen flickering on xbox

I play my xbox on a gigabyte g32qca screen with a 2.1 capable hdmi cable from my xbox to the screen, and run games at 4k hdr since my screen is able to convert the 4k signal to 2k. Yesterday when launching age of empires 4 my screen wouldn’t stop flickering every 5 to 10 seconds. First it was only in game not anywhere else, but it then started to do it on my xbox’s main menu. I’ve had to change my resolution to 1080p then switch it back to 4k to make it stop this only happened with age 4 no other games does this did anyone else experience this too? When launching the game it was okay it was starting as soon as i was in the menu and in game, and no mods were installed.