The carbon dioxide gas in cola is created by adding carbonic acid to the water. Carbonic acid is a weak acid that forms when carbon dioxide gas dissolves in water. When the carbonic acid comes into contact with the Pop Rocks, it reacts with the sugar in the Pop Rocks to produce carbon dioxide gas. The carbon dioxide gas then rapidly escapes from the cola, causing the fizzing reaction.
The amount of carbon dioxide gas in cola can vary depending on the brand of cola. Some colas contain more carbon dioxide gas than others. This can affect the intensity of the reaction between Pop Rocks and cola.
The reaction between Pop Rocks and cola is a fun and harmless way to enjoy a sweet treat. However, it is important to note that the reaction can be quite messy, so it is best to eat Pop Rocks and cola in a place where you don't mind getting a little sticky.