The teacher called the girl to explain the situation