Recently, I made a new computer for my mother, with an AMD Ryzen 5 2600 processor, but that processor is operating at far too high of a temperature, over 170 degrees Fahrenheit, which is obviously far too hot for a CPU; by contrast, the video card in that computer operates at no more than 90 degrees Fahrenheit.
Also, this may or may not be related, but the computer will, on occasion, shut down without any warning, making it necessary for me to manually turn off the switch on the power supply and then wait several seconds before I turn it on, again.
I removed the CPU cooling unit and reapplied the thermal paste, but the issue has persisted, so I am not entirely certain what could be causing it; what does everyone else say about this? Why is the CPU overheating and the computer shutting off unexpectedly?