First, glow sticks contain two different liquids which are; hydrogen peroxide and tert-butyl alcohol. When you're breaking the glow stick, you're breaking the glass vials, that makes these two liquids mix. When these two liquids mix, these liquids is what creates the glow when mixed together.