Heels have a long history, not all sexy—they were once a kind of practical fashion themselves. Murals from ancient Egypt, dating back to 3500 BC, show heels worn in religious ceremonies. In 200 BC in ancient Greece, actors perched onstage aloft 4-inches of cork, called kothorni.The Japanese wore platforms known as geta, made of a wooden plank balanced on two 7-inch blocks, meant to keep feet clean on the streets. The Persian cavalry in the 10th century wore heels to stand in their stirrups, and in 1500, the Persian monarch Shah Abbas visited Europe, influencing royal fashions.

Aristocrats, men and women alike, adopted the monarch’s high heels. The 17th-century French king Louis XIV, who stood a mere 5-feet-4-inches, liked the added height and had a signature look—that lacquered red sole later trademarked by Christian Louboutin. Meanwhile, in the colonies, in 1670, New Jersey Puritans outlawed high heels as deceptive—wooing a man with false height subject a woman to accusations of witchcraft.

Men abandoned the high heel altogether in the mid-1700s. Elizabeth Semmelhack of the Bata Shoe Museum in Toronto tells the BBC, “There begins a discussion about how men, regardless of station, of birth, if educated could become citizens. Women, in contrast, were seen as emotional, sentimental and un-educatable. Female desirability begins to be constructed in terms of irrational fashion and the high heel—once separated from its original function of horseback riding—becomes a primary example of impractical dress.”

But in 1789, during the French Revolution, heels fell out of vogue altogether, along with the whole idea of royalty. No one wanted to seem too haughty, literally or figuratively. Impracticality was, briefly, a relic of the aristocracy.

Then erotic photography revived the high heel in the 19th century. In short order, a look that had been reserved for pin-ups enters high fashion. After World War II, the stiletto takes to the runway. Soldiers had spent much time gazing at posters of pin-ups wearing little while perched atop heels, and their fantasies became fashion’s reality.

Since, many women have developed something of a heel fetish. Carrie Bradshaw, a character on Sex in the City, was obsessed with them. As sex anthropologist Helen Fisher told Today in 2009, “High heels thrust out the buttocks and arch the back into a natural mammalian courting—actually, copulatory—pose called ‘lordosis.'”

But many women would prefer to get places, whether the top of our profession or the subway station, without looking like innuendo in motion. This is borne out by the rise in women’s sneaker sales, which surged 37% from the previous year  in the US in 2017 while sales of high heels declined 11 percent, according to the NPD Group’s Retail Tracking Service.

So for many women, the “ugly” trend is actually practical and very cool. We’re happy to stomp confidently in awkward clothing, knowing nothing is sexier than independence.

📬 Sign up for the Daily Brief

Our free, fast, and fun briefing on the global economy, delivered every weekday morning.