Girl starts to call herself a boy in school after being groomed by teachers. Her parents learned too late after an incident in which she was threatened with rape by the boys in the school's boys bathroom.
Girl escapes with some men she met online under promises of a new family. She gets repeatedly raped and underage porn is shot of her. The FBI found her and put her in a girls detention facility.
The parents were barred from seeing her and were informed that they were now being investigated for child abuse over "misgendering" her.
The public attorney apparently convinced the girl to claim her parents had mistreated her.
Parents begged for her to be placed in a more comfortable environment. The state transferred her to a boy's ward of a children's home, were she was sexually abused again.
After months, the parents were cleared of the allegations, but the state didn't relinquish parental rights back to them.
The girl was sent to some public school and made to wear a GPS tracking device.
Finally the state gave up parental rights, but the attorney representing the girl appealed. During this time, the girl disappeared again, apparently kidnapped by the same men who used her.
She was eventually found and brought back to her parents. They put her into a behavioral healthcare center for trauma.
Even though she no longer called herself a boy, the center kept trying to "affirm" her "gender."
Girl is now back with her parents and done with the gender nonsense after having been molested, raped, and made to shoot underage pornography.
Girl now has panic attacks and other issues stemming from the ordeal.
What a saga that was to read.
TL:DR,
Why the fuck was a sex trafficking victim put in a detention center
No clue.