These tend to be the stereotypical views:
if your male and sleep with a teacher your seen as a legend by your mates
fathers might possibly see their son as some kind of champ if a little displeased
I think sometimes its seen that its not the womans fault that they feel to the mature charms of a young student.
but when it comes to young girls under the legal age, males are seen as predatory, perverted, sick etc.
parents are shocked that their little girls have been defiled by the older male. that there is no way the girl made the move that the male must have forced themselves on them etc.
its not dissimilar attitude towards rape and other gender based crimes.
of course this is not always the case there are cases of female teachers who have been fully prosecuted under the law.