The burn caused by the steam will do more damage. This is because steam has more energy than the liquid water. When the steam comes in contact with human skin, the heat of vapourization of the steam will be transfered to the skin causing a worse damage than liquid water will do.