I'm betting cross-fire. Cop1 smashes window, weapon discharges, strikes occupant and then the Marshall who was probably on the other side of the vehicle.
So, he used his weapon to bash in a window on a vehicle, had an accidental discharge that hit the occupant of the car and another law enforcement officer. Brilliant tactic. 🙄