Adaptational Sex Change
A character's sex is changed when a work of fiction is adapted to a new medium.
When a work of fiction is adapted to a new medium, a character's sex is changed. Instances of male-to-female changes might be to diversify a cast, attempt a feminist message, or increase the adaptation's sex appeal. For female-to-male examples, this could be done to avoid the Girl Show Ghetto. Subtrope of Gender Flip.
Hello, Unknown Troper. You'll need to get known to lend a hand here.