You appear privy to more information than I about this case. Teachers by definition give and take interpersonal relationship from students. What teacher worth a darn doesn’t own up to loving their students! High pay remember is not the motivation for most. Teachers manipulate and psychologically challenge young minds, by definition. This behavior provides delta and growth, we call learning!
IMHO, teachers and doctors suffer most from the presumption of trust associated with social position. In action, each are purveyors of information that directs future behavior, so therefore most presume expected outcomes. The teacher here went to far but I’m certain in her mind the intimacy was helpful to the child in some way – albeit distorted with her own needs.