The situations ARE different though as in the situation of a male teacher and a female student, the man often uses his authority and trust as the teacher to prey upon the girl.
In the case of the male student, female teacher, just my opinion, but it's just a lonely teacher looking for attention and the wanting of a younger man and the student is a much more willing participant. Just think back to when you were 15, wouldn't you sleep with a hot female teacher?