Just that really. Children say “miss” for female teachers of any age or seniority, but it’s “sir” for male teachers. As titles outside of school they aren’t remotely equivalent. It should Miss, mrs. or ms. surname for women and Mr. surname for men.