Sodium reacts with cold water vigorously but iron only react with steam. It is because:
Barium reacts vigorously even with cold water while Mg reacts slowly with warm water. Mg does not react with cold water easily while Beryllium does not react even with boiling water.