This is the key in my opinion. Just to elaborate a bit: you can think of knowledge as a mental structure. The good/great teachers are able to empathize with the students position of not having any of that knowledge, and can effectively build up the entire structure to make what they learned meaningful. The poor teachers just teach the final layer and wonder why people aren't getting it.
Couldn't agree more. Great teachers, at least in my opinion, easily recognize all the common pitfalls where people get stuck and help them accordingly.