The Ryzen 9 7950 has a high TDP Rating of 170 watts so you will need a very powerful CPU Cooler. Preferably a AIO Liquid CPU Cooler rated at least 200 watts or 250 watts TDP for this type of processor.
As mentioned the Maximum Operating Temperature of the 7950 is 95c. So if it goes over 100c it probably will reach a critical temperature where it will shut down to PREVENT damage.
If it is reaching 89c it shouldn't be shutting down due to excessive overheating since it hasn't even reached it maximum running temperature of 95c.
Besides your CPU will shut down when it reaches a critical temperature above 95c to prevent damaging the CPU and surrounding hardware.
The bundled CPU Cooler for the 3700X is the Wraith Prism CPU Cooler but that isn't strong enough to prevent your new CPU from overheating.
Make sure on the Wraith Prism you have set the tiny black switch on the case to Performance which makes it run more aggressively.
I would run OCCT all three tests and keep an eye on Temperatures, Speed Fans, PSU Outputs to see which hardware is overheating or something abnormal is showing.
But yes, You will need to upgrade the CPU Cooler to a much stronger AIO CPU Cooler with a minimum 200 Watt TDP rating or higher.
Look for CPU Coolers that are rated for AMD ThreadRipper Processors that have very high TDP Ratings for your CPU processor.