In the end it’s all about discipline: discipline at home and discipline at school.
That is a huge part of it yes I agree, but from what I’ve seen, teaching (and subsequent learning) can be greatly influenced by the attitude towards the students. It is, after all, communication...