The name "boxcars" comes from the shape of a pair of sixes, which resemble the shape of two train cars or a rectangular box.