If the assignment was ‘innocent’ or benign as claimed, the school should have offered the girl an alternate assignment for the same credit. Offering a second choice happens a lot in schools. I think the schools just did not like having to explain themselves to a “mere” parent of a student.
They seem to have the same mindset as most public schools, believing they (the school) is above reproach and all knowing.
This was a private Baptist school.