Peroxide can sometimes form small bubbles when it is mixed with water. Bubbles are created when the oxygen in the peroxide molecules attacks the water molecules. This process creates a lot of heat, and the gas pressure within the bubble is greater than outside pressure. As a result, the gas escapes from the bubble and forms a small explosion.