Stun guns cant be used on someone who is pointing a gun at you.
Thats like usings your hands to block a knife, or trying to cut with your wooden spoon.
There are rules to everything but a very plain rule to guns is.
If someone makes a hostile action, IE: pulling a gun and pointing it at someone, even pulling it it out or making a movement to pull it out can get you shot and or killed, anyone in the area results in the justification of deadly force.
Oh and that guy who stunned the little boy because he was "kicking out a window."
Im pretty sure the story is that kid was threatening to cut himself with the glass so the deputy or police officer couldn't get close enough so he had to use a mid-ranged options.
Anyways, no one who wasn't there really can't scrutinize anything they did. You'd have to be there to be able to say what they did was bad or good.
What if it was a real pistol? What is it was loaded, and the SWAT officer hesitated taking into account what the parents said, what if he hesitated just 1 or 2 seconds? Thats how fast the boy could have pulled the trigger, succesfully killing the deputy he was pointing the gun at.
EDIT: Pepperspray and stun guns can't be used at a range.
What if the kid had certain conditions where they couldn't use flashbangs or his ears were far too sensitive. What if the SWAT team's shields were being repaired because of the last entry they went in the baddies had sub machine guns and the rounds punctured them making them innoperable.
If a soldier doesn't have his BDU on does that make him not a soldier? If a mom isn't with her kids, does that make her not a mom? If a president isn't in his country, does that not make him a president? If a jewish person doesn't have his yamica on, does it mean he isn't jewish?