The ancient Greeks and Romans never had any problems with men wearing dresses. Do not confuse dwarven culture with yours.
I have drafted female dwarves into marksdwarf or fortress guard squads before, but I never use them in close combat squads because of the tantrum-inducing effects of having babies smashed.
Yea, that seems like a legitimate reason to have gender exclusion in the military. I don't think it's really sexist.
I think it's more a matter of not wanting a tantrum spiral to happen.
I still am an equal opportunity conscriptor personally.
edit: Chief10, while I agree that's a possibility, I don't know if that is always the case.
I don't think this parallels but I was thinking about how, when I run the tabletop RPG call of cthulhu which parallels 1920s America with scifi horror elements, I make sexism in it a very big deal because it was, and female characters have to deal with that, though I also give them ways to get past or through that system and overcome it (which may not have been possible in real life.) I haven't attempted a game with a women or even man of color and I don't think I am equipped to properly run that scenario.
But then again, as an overseer in fortress mode, that's a different game entirely. And DF also doesn't parallel earth in any time period.