Because he was on duty.
With one he turns off the light, With the other he checks if the window is closed