Why does Hydrogen Peroxide Foam?

Hydrogen peroxide foams when it makes contact with the enzyme catalase in blood. This contact causes a chemical reaction, changing the hydrogen peroxide into water and oxygen, which makes the foam. For more information look here: