He’s killing when he doesn’t have to kill. He could knock them out, drag tem to his cell,and lock them in, bound and gagged by their own clothes. Nobody would find them, and no alarms would be raised like when finding dead guards.
Of course nobody would mind him doing it, it does fall under self defense, but he has other options. A she makes his great escape, the killings will become the only option.