At the hospital, deputies say the father told them he was in the bedroom and removed a rifle from a gun safe, removed the magazine, tried to eject a round when the gun went off.