My PC will sometimes just freeze up and show these visual distortions. I have to restart my PC every time it happens. Sometimes the audio glitches alongside it, but sometimes it's fine. I'm not sure if it's the CPU, the GPU, the ram, the motherboard or what else it might be. Anybody know?

EDIT: Welp, since everybody's saying it's the GPU, I guess it's just time for a new one. I have a 1080ti from ~2018 so it's honestly surprising that it's held up for as long as it has.