Why does freezing cause a liquid to turn into a solid?

a Because it got really cold and solids are cold.
b Enough energy has been removed to slow down the molecules.
c The liquid got squashed into a solid.
d Energy was added causing the liquid to freeze.