BR3AD actually. Those assumptions would. We tell men and women how to dress. how to look. how to behave and to some extent what to think to be men or women.
Professional for men these days is short neatly trimmed hair, Particular manners of addressing and speaking with others, societally deemed nice clothing of particular types. The more professional you get the more this leans to a suit and a tie, Pressed and crisp and preferably tailored to your form to some extent.
Women are dresses and skirts, particular kinds of shoes, a more varied but still particular kinds of hairstyles, Often some amount of makeup.
This is all driven by society.
We're more accepting now but it wasn't too long ago that it was considered unattractive and wrong for a woman to say Wear a pair of jeans or a t-shirt.
I was mistaken for a female on a simple base societal assumption that I was reminded of regularly. Men simply should not have long hair. There have been other societies where it was common or even expected for men to have long hair.
So you can't argue that gender roles are something that pre-existed society. They didn't. They are actually a creation of society. They are part of societies rules of what is acceptable and they do change over time.
Also argueing over a woman holding a two handed sword is evolutionary is pointless. For being a smaller person I actually have a physically demanding job. I pull pallet and unload trucks all day long. A job that we seem to think of as a job for men.
Computer programming and such. Still seen as typically male despite the number of very talented females in growing numbers in that field. Because Society says it's a male thing to do.
Society is what says whether boys play with swords and girls play with dolls or not as just another example.