Not really? That depends on the culture one is growing up in. There’s nothing inherently male or female about any clothes, they are defined as male or female based on the society and its gender ideals. At no point did I define things as strictly male or female, and happily enough the lines on what are considered gendered are blurring, the point remains that gender is socially constructed whereas sex isn’t. You aren’t male because you don’t identify as male, someone who was assigned female at birth however could decide that they want to live their lives as a male and identify that way
But it is in a sense all of those things - you are born with a set of genitals that define your sex, as a result your gender identity is also defined at birth based on the social roles that the society you exist in prescribes. There’s arguably a conversation to be had about the entire concept of gender abolition but that’s a hypothetical that we aren’t anywhere near, for the here and now we have genders and people define what that means for themselves