Why molecules move along a temperature gradient

Why molecules move along a temperature gradient