Glow sticks are sold with a solution of oxalate and dye being in one vessel and a solution of hydrogen peroxide contained in another vessel. By bending the sticks, the inner vessel breaks. This allows the two solutions to mix and react with each other, leading to chemiluminescence. Since the reaction is not reversible, the glow sticks can only be used once.
https://en.chem-station.com/blog/2014/08/how-glow-sticks-are-made.html