Question Why does my computer run for about 5 to 10 mins and runs slow then shuts off ?

Oct 29, 2021
1
0
10
0
I bought this computer this year. it has a 2060 super in it & 16 gb of ram. Decent things but it keeps shutting down randomly. I replaced the Windows on it as well the SSD holding it, replaced the power supply and the ram but it's still doing the same thing ? pls help
 

ASK THE COMMUNITY