I honestly don't know the problem. I tried multiple psus, multiple gpus, I've tried restoring to a save, but I don't know any more. My computer randomly shuts off and then shuts back on again. There isn't a "restarting" screen. I have enough wattage, since I tried an 850 gold and a 650 bronze.
SPECS:
Ryzen 5 2600x
B450 Tomawhawk non-max
Stock Cooler
Corsair Vengeance RGB pro 16gb 3200mhz
Sapphire Pulse 5700xt
Inland Premium NVME 1tb ssd
Tried CXM 650W Bronze, and CoolerMaster 850w Gold
All of which in an h510
Side Note: just noticing now that there is a red light directly above the io on the inside of the case