I had something similar once. I had routed the cables that go to the header for the USB and head/microphone alongside the graphics cards power cables. Whenever the cards started drawing a lot of power the electrical interference would come through my headphones. Also the grounding wasn't very good for the header/USB/headphone port thing. Just moving the cables made a big difference.
Ryzen 5 5600, ASUS ROG STRIX B550-F GAMING WIFI II, Corsair Vengeance RGB RT 32GB 3600MHz C16, Zotac RTX 3060 Ti, Corsair RMx Series RM750x. AOC AGON AG324UX - 4K 144Hz 1ms GTG IPS FreeSync KVM