I've played computer games with character creation options since somewhere in my teens, mostly world of warcraft. I've always played both male and female characters, and my preference for which one has changed many times. There are two main components that determine why I like to play as both/either: my gender, and my sexuality. When I thought of myself as a guy, I preferred a male character to relate to how I saw my gender, but also enjoyed playing a female character cause of being bi and finding her attractive looking.
Now in detransition and thinking of myself as a woman I prefer a female character to relate to how I see my gender now. However, sometimes I still connect to thinking I'm a male character in a game. There's still a certain thrill in that for me, but I think that mostly comes from my androgyny and that I actually like being perceived as male despite being a woman. Suddenly it hits me why I've always liked playing feminine, long-haired male characters... they resonate with me on some complicated level.
And again, my sexuality influences that I still enjoy playing a male character sometimes, cause I'm still bi, and like looking at a hot male character too.
But there is another factor too, kinda. That really I think I just pick whichever character resonates with me style and body-type wise, regardless of their gender.