Question why is it crashing?

Apr 14, 2020
3
0
10
So I just got a cyperbypower PC from best buy and I have this issue when trying to play Modern Warfare and Overwatch. The computer just goes to a black screen and reboots without warning. I noticed if I cap the framerate to 100 then it keeps it from crashing but even that is not always 100%
Specs:
Motherboard: Gigabyte B450M DS3H WIFI (rev. 1.0)
CPU: AMD Ryzen 5 3600
RAM: G.Skill 32GB DDR4 Aegis 3000MHz PC4-24000 CL16 Dual Channel Memory Kit (2x16GB)
PSU: unsure of make/model but it is a 600W unit
GPU: AMD Radeon RX 580
Memory: 2TB HDD + 240GB SSD