The AMD 5950X Maximum Operating Temperature is 90c. So if your processor reaches 90c it will start to automatically throttle or slow down.
So as long as it stays below 90c you are within its operating temperature. But it is best to keep it at or below 80c to be on the safe side.
You might have a background program running that is causing the processor to run hot. Like running a backup or scan as an example.
I would stress test your CPU to make sure your CPU Cooler is functioning correctly using something like OCCT. If the Processor doesn't go above 80c - 85c while being stress tested then at least you know your AIO CPU Cooler is maintaining your processor from overheating.
Afterwards try to see what program might be causing your processor to run hot by looking at Windows Task Manager and under the tab "Performance".