I understand it as him not actually causing the virus (not tampering with the samples) but only believing that he did. Because of the loop, his memories became unclear, so he came to think he was responsible - and the loop itself is a punishment for that.
End? They didn't elaborate the reason why he messed up the machine though