Question help, screen making weird pixel things sometimes

Oct 5, 2020
3
0
10
so i have made my own desktop about 2-3 months ago
amd radeon 5700xt
amd ryzen 5 3600x
asus x570 a pro motherboard
16gb ram
with windows 10

but since a week ago when i was just random watching youtube i got some weird purple squares in my screen (picture attached) and it maybe stays for a few seconds and then goes away it has happened a few times since then. not sure if this is a software or hardware issue.

picture link View: https://www.flickr.com/photos/190506037@N04/50423911928/in/dateposted-public/
 
Oct 5, 2020
3
0
10
cooler master mwe 650W 80plus

cpu get a bit high stil stock cooler and are known to get high mine gets to 70 very rarely 75
gpu stays around 60