By extension, then, to rape a man (in the ancient world) was to "feminize" him, to make him subordinate to the aggressor.
By seeing control (even to the point of domination) over sexuality and gender as a way of controlling the identity of society, we gain insight into how roles were distributed along a network fo power.
But we should always bear in mind that biblical portrayals of sex and gender were written by men.