Question PC restarts at seemingly random times ?

Jul 23, 2023
2
0
10
At first I thought that it was when my pc was drawing too much power but just now it happened when I was just watching a stream with a single chrome tab opened. I've looked at event viewer and the System events right before the crash do not seem (from my research) to be the culprits (Event 10010, Event 37, 3x Event 10016, Event 16). Event 16 was the last one before the little lapse of time before my pc had finished restarting. It might be my power supply but I've played much more demanding games on my pc and everything was going fine. Thank you
I've already tried switching power outlets and even tried it in another house.

PC specs:
GTX 1080
Ryzen 7 5800X
16 GB DDR4