Question Why is my computer restarting and my gpu crashing?

Jan 6, 2021
2
0
10
First off here are my specs

Operating System
Windows 10 Home 64-bit
CPU
AMD Ryzen 7 3800X 59 °C
Matisse 7nm Technology
RAM
32.0GB Dual-Channel Unknown @ 1496MHz (16-18-18-36)
Motherboard
ASUSTeK COMPUTER INC. TUF GAMING X570-PLUS (WI-FI) (AM4) 43 °C
Graphics
ASUS VS238 (1920x1080@60Hz)
VG279QM (1920x1080@240Hz)
8176MB ATI AMD Radeon RX 5700 XT (ASRock)
Storage
953GB TEAM T253X2001T (SATA (SSD))
5589GB Western Digital WD My Book 25EE USB Device (USB (SATA) (SSD)) 44 °C
Optical Drives
No optical disk drives detected
Audio
Razer Audio Controller - Chat



Recently when I was streaming call of duty cold war zombies my gpu crashed
now this is not the first time this has happened
on cyberpunk it did this, randomly happens too, really annoying me and could use some help

second yes all drivers are updated
and this was built by a guy on facebook ( I over payed sadly)