Not sure what is causing the issue. But try other slots of RAM and disable the XMP profile for it from BIOS.
Some time that EZ debug gives false signal. Anyway, if you can boot, install and watch HWinfo for thermal readings of components.
Reset BIOS to default if you have made any changes and try.
Take all the components out of the cabinet and just use MB+CPU+PSU and see you're getting RAM error beep sound.
Then intall RAM
Then SSD
and see if you can figure which one is causing the issue.
You can try live linux and see if the issue happens with linux as well.
See if you have the latest stable/recommended BIOS, if you have the latest, STOP. Don't have to keep updating it.
Other than above, also try removing CMOS battery, then in off position with no power, press power button for 10s, then turn on without CMOS, sometime later reinstall CMOS (when PC is turned off).
check the cpu cooler if it has been mounted properly.
try with a another ram stick may be.
sudden/abrupt restarts may be an indication of a bad/malfunctioning psu.
A sudden power-off of a running computer is usually an extreme response to something going seriously wrong, either something is too hot or the power supply is being overloaded. If the motherboard has any sort of “Event Log” capability, that is the first place to look to try to find what happened.
Regards,
I am inclined to believe it's the PSU, but the motherboard light stuck at CPU debug is also fishy.
Try a different PSU first. May be it's PSU's power delivery to the CPU.