Put everything back to default including your processor.
Then download and stress test your CPU, GPU, and PSU using OCCT.
See if any of the 3 tests fails. While running those 3 tests check Temperatures, PSU Outputs 3.3v/5.0v/12.0v, and Fan speeds and all other data to see if you notice anything out of the ordinary.
But everything must be back to default including your BIOS (CMOS CLEAR) plus your Processor to get a good indication of what is causing your freezing.
Could be a bad or corrupt driver like the GPU driver or possibly a hardware is overheating or is going bad. That Processor FX9590 is a high wattage processor. Good thing you have a AIO Liquid CPU Cooler installed.
Could also be defective hardware like RAM Memory or HDD/SSD.
You can run in a elevated Command Prompt DSKCHK /f/x/r to check your Windows drive. The Windows Drive will be checked for bad sectors when you boot up and before entering Windows.
You can also run Window 10 Memory Diagnostics or better yet MEMTEST86 to check your RAM for defective Memory Modules.
All of the above is to generally eliminate defective hardware or other hardware related issues.