Gender was just a nicer way to say sex because sex was seen as crass up until a man named John Money forced children into sex positions based on his theory that there was a difference.
The experiment was a disgusting failure but is still cited as the evidence to this day.