Teachers know which guys are popular with the girls. Perhaps the teachers are living out their teenage fantasy when they were the ugly ducklings.
Probably not a conscious decision. She probably has unfulfilled sexual desire and obsessive, compulsive behaviour. Her action is not conducive to well tuned functioning society. “Ok looking” is no clue to the mind behind it. No clue.