It’s extremely difficult to fire a pistol in such a precise manner to do what you describe.
Firing a pistol is not like firing a rifle.
Firing a pistol under strenuous circumstances and expecting that you can place a bullet in such a way as to not kill someone tells me that you don’t have much or even any experience with pistols.
Not saying it is easy. And your supposition is unfounded and wrong; I do have experience and appreciate the difficulty.
That said, these cops are professionals and they were in fairly close proximity. Even under the stress of the moment, it was possible.