Read, I Will Fear No Evil, 1970.....................
https://en.wikipedia.org/wiki/I_Will_Fear_No_Evil
I think the interjection of sex into science fiction stories usually does nothing to benefit the plot, and serves mostly as a lurid distraction.
Nowadays people are dead set intent on interjecting homosexuality into a lot of science fiction plots, as well as other social justice warrior crap.
Some character's race, sexual orientation, or religion usually has no bearing on the character's role in a story, but for some reason people insist on putting a focus on this stuff.
I remember Isaac Asimov talking about being criticized for NOT putting any ‘sex’ in his sci-fi novels, circa 1970’s.
He said it wasn’t necessary to the stories, and didn’t like to write about it....................
It's easy to miss, because it has nothing to do with the plot.