Citric acid and baking soda are the key ingredients that make bath bombs foam when they touch the water.