A male teacher that exploits his students. female or male, is likely to do vastly more damage than a female teacher exploiting her male students. That is biology.
It’s societal norms established to protect the vulnerable.
If it were merely biological necessity or physical desire, everything is acceptable.