I have been getting random restarts (not bsod). It is if someone is manually pressing my restart button on my case. I have unplugged the restart cable from my motherboard to make sure that is not the case. I have replaced my ram, gpu, boot drive and power supply. I have done a clean install of windows and used a different boot drive. I have purchased a UPS and am still getting these random restarts. All I have left to replace is my cpu and motherboard.
current specs:
Ryzen 9 3900x (running stock)
Aorus Master X570
32g (16gx2) Gskill 3600mhz (CL18), have tried running stock and with XMP
Sapphire Nitro 5700xt (running stock)
Corsair M.2 1tb Gen 4
Corsair RM850x
Phanteks P600s
Corsair 150i liquid cooler
Corsair 120 LL fans x 6 with controller
Windows 10 Home (64 bit)
I have also attached the most recent event viewer from the most recent crash.