It is also possible that the gun analyzed the target and selected the best way to destroy it.