A travesty means something absurd in a bad way right now, but earlier it meant "burlesque", under the connection of absurdity. In the 1670s, this was borrowed into the English language from French travestir, or "to disguise" (because burlesque actors would disguise themselves). This is composed of two Latin components: trans, meaning "over", and vestire, meaning "to dress". In effect, actors were considered "cross-dressers", literally. Those very words, trans and vestire, would also combine to create the offensive term transvestite, an unfortunate coincidence but one which also makes perfect sense. Trans comes from Proto-Indo-European terh, Vestire likewise comes from PIE west, meaning "to clothe" as well. Usage of both words has been decreasing over the years (after almost equalling each other around 2000), but transvestite has been a bit more precipitous since the'90s.
Adam Aleksic, a leading contender for valedictorian of his high school, is a 210-month-old boy with disturbing interests in etymology, vexillology, geography, and law. Adam would like to one day visit Tajikistan and probably isn't spying for the Kyrgyz government.
The Etymology Nerd