Minors cannot consent to having sex but they can be sexually mutilated?
The rationale, according to the trans lobby, is that transitioning is easiest before puberty. Before hormones reinforce one's biological sexual characteristics.
Thus, trans people should have a "right" to transition before puberty, so as to receive the full benefits of the transition. (Although they don't call it transitioning, they call it gender affirmation.)