Not the case in this situation, but using your hand to take a gun can also lead to such injuries, and would have a high chance of jamming or damaging the firearm.
I don't see a finger in the bore of a .22 caliber weapon, but for example a finger stuffed in a barrel would be a certain way to lose that finger but could bulge or damage the barrel or even cause an explosion and either one a good chance of interrupting the cycling resulting in a jam of the firearm. Sticking the end of most high pressure rifles in shallow water with the barrel full of air and the tip full of water often does the same thing, as does the end full of dirt or mud because a soldier or hunter let the end of the barrel go into the dirt before firing it.
Likewise fighting or grabbing near the action of many guns can cause the action not to cycle, resulting in the gun being a single shot, but perhaps causing injury to the hand grabbing it. The bolt carrier group on an AR prevented from moving freely would not stop the chambered round from firing, but could stop it from loading the next round.
Most semi auto handguns for example require the slide or a revolver cylinder to move to load the next round and a hand grabbing that strongly enough to prevent that prevents the firearm from continuing to fire.
Those do not appear to apply to this case and both victims were at range. High velocity light weight projectiles are readily deflected, and sometimes harder projectiles that actually have more penetration power deflect even more readily because there is less give when the projectile impacts an objects applying more energy to diverting the round. Iron or 'steel' core projectiles ricochet like crazy for the same reason, while a softer projectile deforms and takes more to deflect (though the new odd shape of the bullet can cause it to veer wildly off course in an unstable manner.)
I saw just two weeks ago two separate students that died stopping two different mass shootings, one in a high school and one in a university. Both kept the casualties so low (they were the only deaths) as to cause the shootings to be minor news, but with every indication that the shooter was not targeting them and was in that location to deal mass carnage to random victims.
We talk about the shooters, but should really be talking about the heros.
I mean that is a pretty honorable way to go and those that successfully protect others should be those elevated to celebrity status in the media. With notable mention for those that unsuccessfully tried as well.