Quarks have a variety of names (or flavours):
Why do they have such odd names?
The up/down top/bottom should be self evident: in a matrix representation the vector is written that way
The strange got its name from the strange mesons, which when discovered were behaving strangely, with respect to pions, needing a new quantum number because they were generated in pairs ( Lamda K) and the quantum number became the "strange" one.
Charm was a whim as , they were charmed by its existence since it had been predicted to exist given the quark model expectations; from the quark entry in wikipedia:
Top and Bottom, again because of the position in the vector, and Beauty instead of Bottom out of whimsy again, keeping the B, and Truth keeping the T.
Who said that physicists are not having fun?
For completeness, the name "quark" has the origin in Finnegan's Wake of James Joyce:
Of course our Germanic language friends say that Quark is a type of cheese!
Actually the quark article in wikipedia has an etymology section for the quarks, to be read for completeness.