Just finished building my second ever pc (last was 5 years ago) a few hours ago and all was going well. Installed Windows and began installing programs. All of a sudden windows restarts multiple times without warning. I ignore it the first few times because windows but then it brings up the windows troubleshooting. I go through the normal steps and then it boots up. I then power it off thinking problem solved and plug in my HDD (unplugged HDD to ensure windows doesn't **** up and install to the HDD instead of m.2) and when going to power up my ram lights up, nothing else does and it does not post. As well as this the fans spin at full speed and the power button ceases to do anything. If I switch the PSU off and leave it for a few seconds then switch the PSU back on it needs the power button to be pressed to start the fans spinning again. All I changed was connecting the sata cable to the motherboard. I have tried everything I can think of and am getting no bios errors or anything obvious. Reseated ram and GPU. Unplugged all power connectors and such. Does anyone have any clue what the issue could be?
Specs: ryzen 5 5600x
Gigabyte b550 aorus elite v1
Gigabyte windforce rtx 980
32gb gskill neo 3600 cl16
1tb western black m.2
3tb Toshiba p30 HDD
MSI mag a850gf
Phanteks p500a
Specs: ryzen 5 5600x
Gigabyte b550 aorus elite v1
Gigabyte windforce rtx 980
32gb gskill neo 3600 cl16
1tb western black m.2
3tb Toshiba p30 HDD
MSI mag a850gf
Phanteks p500a