Seems to me like bad and mediocre teachers can make students less teachable as they mentally check out of the education system.
I think there's room for improvement on both sides; supporting families and students to create space and safety for them to learn and to improve teaching quality with evidence based training.