Legally, maybe, I don't know and it's irrelevant because I'm talking about common sense.
The cop was there to tell them their car door was open. And he shoots a small dog because it moved towards him. He's a pussy and a coward, and he's trigger happy. He should not be in law enforcement. He showed poor judgement.
Whether or not he acted legally is not my concern at this point.