Knowledge not shared is knowledge wasted

We all have some beloved and despised teachers. Teachers from which we got a lot of, mostly useful, knowledge, are remembered as good ones and we are glad to hear anything about them, while on the other ones we don’t want to know anything. Why is this so? This should actually know every teacher, regardless of whether the teacher is in kindergarten, elementary school, high school or college.