Why does a teacher needs to have a grasp of students social setting and the condition in which they live?

Our environment affects how and what we learn (or don't learn).