Whenever we interact with another person on a consistent basis we're automatically in a relationship with them one way or another.
Because you interact with your teachers daily, you develop a relationship with them. Thus the term "student-teacher relationship."
A student teacher relationship is strictly professional. Think of it like a business.