Seems to me that the bias of the parents may have been picked up by the kids. Then, with the typical cruelty of kids, they responded that way.
As well as the bias of their publicly funded teachers.