I think a lot of them just come from the original proto-drug, which were usually named after their molecular structure [ed. or the plants the original compound came from].
And then, eg., some were named because something Saint Barbara and guns and urea-->barbiturate (I'm serious, look the Wikipedia entry up). Something else reacting I don't remember, and you get barbital, the first in its class marketed, and named Veronal after a pretty city.
So the class of sedatives acting on that binding site of the GABAa receptor are determined to end with -arbital, with the beginning roughly matching the structural tweaks to the origianal barbital. So, allo, amo, apro, alphen, brallo, pento, pheno, seco, and thio.
Don't pretend like you don't remember singing that song on the bus, on the way to camp every summer.