Because diablo is processor-heavy game. It uses a lot of CPU/GPU resources so it pushes your PC to the limits. And under pressure it just fails.
This error is about memory/psu problem. It's either your PSU power if low or it's old or memory module is dying.