I believe that the classroom magement could be the background of a class because if there isn’t an adequate atmosphere things might not go well.
As a student I witnessed backtalking quite a few times, I remember that in highschool my male classmates were really tough boys, actually I used to try to avoid them all the time, at the end I hardly talked to them because I found them dangerous, sometimes they had a very «macho» attitude. Once, the teacher started to talk with one of my classmates about feminism, the teacher was a woman by the way, they started to argue and the discussion lasted for about fifteen minutes, meanwhile the rest of the group was just listening and not working on the class.
What could have happened could be that my classmates might have turned even more violent, maybe not physically but with their words and maybe not with the teacher but with us, their female classmates.
What I consider that the teacher could have done was to avoid the discussion and promote women’s value through a good attitude as a teacher.