Some games don’t have you select your gender. You can choose available romances or deny them. Sometimes if you pursue one and you are not there desired gender then they will reject you.
I can’t remember which ones have that at the top of my head, but there is one or two with that.
I prefer ro’s having a set gender normally. It just feels unnatural to me when a gender flips purely so you can romance them.