That's terrible. The teacher seems to me to have no relationship with the students. And she wants them to be respected. If I want students to respect me, I have to show respect for them as well. Knowing the names of the students is, in my opinion, the absolute basis. My accompanying teacher probably has nothing to build on. He is not interested in pupils.
If I want students to respect me, I have to show respect for them as well.