Court documents reveal the incident was reportedly punishment for the girl's behavior at school.