Dry ice is also extremely cold, and will reduce the temperature of the tank water quite rapidly.
(in addition to everything 7enigma said)
Plus, dry ice is a lot more expensive adn difficult to keep, than sugar, yeast, and a bottle of water (i.e. DIY CO2)