The school is way off base distributing flyers for the church because it gives the flyers an invisible stamp of official school sanction and approval.
The parents and kids are right to complain, just as I am right when I complain about other religious organization sponsored events (like those yoga classes from a religious foundation…) at schools.