If a student start liking a teacher?

This would be a conflict of interest for the teacher. A techer who has a personal realtionship with a student would lose their neutral objectivity toward the student. In most school districts the teacher could be fired for having a relationship with a student.