Guns don’t accidentally go off except in rare occasions of mechanical failure. This one was most likely set off by the instructors stupidity, of course the MSM makes it sound as if the gun just happened to go off.
This incident has been described elsewhere.
Idiot pulled an “NYPD holster” - finger on trigger, shove into leather....