Hydrogen is a very light gas, and so rises in the atmosphere. Hydrogen can be prepared from compounds like water, acids and bases as they all contain hydrogen. This reaction is highly exothermic and the heat liberated ignites the hydrogen.
2Na+2H2O⟶ 2NaOH+H2
This reaction is also violent.