Investigators said two male juveniles were in possession of a handgun, and at some point, it went off.