One of the first rules of gun use is never fire unless you can identify your target. It could even have been another officer.
And why was his weapon unholstered?