Question about being transgender.

I often see transgender people say that gender has nothing to do with sex or your genitals, so why do transgender people change their sex and genitals if they aren’t connected?

Please don’t take this the wrong way I’m just confused