Teachers try to build good rapport with the learners in order to produce an environment that will help learning.
Example
Classroom management tools such as eye contact, body language and learning and using names can help to build rapport.
In the classroom
Building good rapport is often a matter of personalities, and many teachers will have excellent rapport with one class and bad rapport with another, for no clear reason. Personalisation can help build rapport, as learners and teachers find out more about each other.
Further links:
https://www.teachingenglish.org.uk/article/teaching-speaking-unit-2-rapport
https://www.teachingenglish.org.uk/article/jordana-mazzarotto-ana-francisca-rosada-creating-a-positive-learning-environment
https://www.teachingenglish.org.uk/article/neuro-linguistic-programming-elt
https://www.teachingenglish.org.uk/blogs/vicky-saumell/what-are-your-top-5-tips-teaching-teenagers-vicky-saumell