the police officer just doesn't know how to handle a weapon. There is no way a glock can fire without the trigger being pulled. There is a firing pin block physically preventing the striker to spring forward and strike the bullet. The firing pin block can only be depressed when pulling the trigger.
An instructor once told me most cops are terrible at handling firearms. I bet they can eat the sh!t out of some doughnuts though.