The hammers refer to the origin of this candy, namely the mines. The miners ate these candies or the black variety with mint to clear their airways.