This is because the atoms in a metal vibrate more vigorously at higher temperatures. As the temperature drops, the atoms slow down and move closer together, resulting in a decrease in volume. This is why you see things like metal bridges expand and contract with temperature changes.
There are a few exceptions to this rule, however. For example, water expands when it freezes, and some alloys can exhibit unusual thermal expansion behavior.