This sounds like a clear case of the thermal paste needing changed, and/or a new cooling solution may be needed. Are you using a liquid cooling solution, or a cooler with a heatsink and a fan?
Ryzen 7 7700X, MSI MAG X670E Tomahawk Wifi, Corsair DOMINATOR® TITANIUM RGB 2x16GB DDR5 DRAM 6000MT/s CL30, AMD Radeon RX 7900 XT, Corsair HX Series™ HX1000, Corsair MP600 PRO NH 4TB