Gender = the assigment of certain roles based on ones sex. It changes over time and differs from culture to culture.
Liking certain clothes and having certain hobbies and so on depends on your personality. It has nothing to do with gender.
But being forced to like/do certain things because they align with the gender roles assigned to you at birth does.
It’s not that a person is/has the “wrong” gender. It’s gender that’s wrong.
(also gender =/= sex)