Georgetown County deputies say the boy initially told investigators the gun accidentally went off last month when he hit the trigger as he picked it up.
But authorities now think the 12-year-old threatened to shoot the girl, then fired.
Deputies say the girl is getting treatment at the Medical University of South Carolina.
Investigators say the boy has been released to his parents' custody and is awaiting a hearing in Family Court.