My guess is that the dog attacked the cops and in the resulting commotion, they shot the dog and the kid. The attacking dog made it difficult to determine what the kid was holding in his hand.