Why do we experience a burning sensation when come in contact with steam?
Something which has more energy will produce more damage.
Steam is the answer.
Lets calculate the energy amount in boiling water and steam;
Now, If a person gets into touch with steam, then it will release more heat energy on the skin which will cause more damage.
Again due to free movement of hot particles in gaseous state it can cause damage to larger surface area of skin.