"Are you wearing lady clothes?" Darryl Philbin asked Michael Scott.

No, the regional manager of the fictional Dunder Mifflin insisted: His suit fits him, and he is a man, therefore, "at the very least, it's bisexual." What made it clear to Michael, finally, that his "power suit" was indeed also a women's suit was that the buttons of its jacket were, he noted, "on the wrong side."

Leave it to Michael Scott to bumble, via a sales bin and a career separates brand named MISSterious, into an insight about the arbitrary gender differences in clothing. Women’s and men’s shirts and jackets differ not just in terms of how they’re cut, but also in how they’re oriented: To the person wearing them, men’s dress shirts have their buttons on the right, while women’s have them on the left.

This is not a big thing, but it is a weird thing: Every day, millions of people are walking around with these little reminders of gender inequality emblazoned on their chests. There are different theories as to why the discrepancy exists in the first place, but all of them come down to this: The Button Differential is a relic of an old tradition that we have ported, rather unthinkingly, into the contemporary world.

Let’s start with men’s shirts: buttons on the right placket, the open flap on the left. The most common explanation comes from the fact that clothing, for wealthy men, often included weaponry. Since most men held swords in their right hands, this Quora thread explains, “it was more convenient and quicker to use their left hand for unbuttoning.” You can see evidence of that in portraiture. All those hand-in-waistcoat pictures popular in the 19th century? They involve, generally, the slipping of hand into an open area of the coat, right-to-left.

You could also see the right-button orientation as a holdover from warfare more directly. “To insure that an enemy's lance point would not slip between the plates,” curators write in The Art of Chivalry: European Arms and Armor from the Metropolitan Museum of Art, “they overlapped from left to right, since it was standard fighting practice that the left side, protected by the shield, was turned toward the enemy. Thus, men's jackets button left to right even to the present day.”

You can extend the theory even further back (as in, waaaaaay further back). As Katherine Lester puts it in Accessories of Dress, “a man's role as hunter required that he pull a weapon from left to right. Fastening a garment from right to left would impede the movement of our ancestors.” Or, as the menswear-loving comedian Paula Poundstone noted, jokingly taking on the button differential in Salon: “Some costumers speculate that at one time, both men and women held animal skins over themselves with their left hand, making a right-over-left closure, in order to free up their right hand for more important tasks, such as signing their Discover card receipt at the belt store.”

Okay. So that (mostly) explains why men’s buttons are on the right. But then, why are women’s on the left?

One theory: babies. Given right-hand dominance, women tend to hold their infants in their left arms, keeping their right arms relatively free. So shirts whose open flap is on the right, one theory goes, makes it easier for them to open with those free hands for breastfeeding.

Another theory: horses. Women, to the extent women rode horses, rode sidesaddle, to the right—so putting their shirt and dress buttons on the left reduced, to some extent, the breeze that would flow into their shirts as they were trotting along.

Another theory: spite. The early days of industrialization—the time when clothing manufacturing practices were becoming standardized, and coming to set some precedents for today—coincided with the early days of the women’s movement. One theory holds that manufacturers took advantage of little differences in clothing to emphasize bigger differences between the genders. The left-right button differential wasn’t, in that sense, so much a matter of practicality as it was one of philosophy. (For a corollary to that, we can thank, again, Napoleon. That hand-in-waistcoat pose? Women, apparently, used to mock the emperor by mimicking that pose. One theory (which, warning, I can’t find much corroboration for, but I put out there for your consideration) holds that Napoleon ordered women's shirts be buttoned on the opposite side of men’s to end all the fun-making at his expense.

The most reasonable theory, though, has to do with the fact that, when clothing conventions were becoming standardized, many women did not dress themselves. Wealthy women, in particular. And since buttons were expensive, with intricately fastened clothing doubling as luxury items, the conventions about them were decided by the wealthy. Servants were often required to help rich ladies get into and out of their elaborately buttoned dresses—and servants, like everyone else, were most commonly right-handed.

And then! Fashions working the way they do—trickling down, generally speaking, from the wealthy to the less so—the right-over-left design strategy remained even after dressing became a DIY affair. When buttons became easier to manufacture and apply to clothing, opening them up to mass consumption, the buttons remained on the left so the masses could mimic the style of the wealthy. (Culture also working the way it does, however, there were some who managed to make that economic convention about sexism. The 19th century sexologist Havelock Ellis used the button differential to argue that women were innately inferior to men in their motor capabilities—men being able dress themselves, he pointed out, and women requiring assistance to do so.)

Today, we are fortunate that the Button Differential is mostly a quaint relic of an earlier time. Hints of outdated sartorial dramas, however, remain. American Apparel sells a “unisex” Oxford button-down. Its flap-to-button orientation? A masculine left-to-right.