"Dry ice" is solid carbon dioxide. At normal temperature, it sublimes, i.e. it goes from solid state to gas state without passing through liquid state . Closed up in a plastic bottle, carbon dioxide produced by sublimation develops a tremendous pressure, which gets liberated on impact ( dangerous experience!)
Dare to see: Mad Physics !