To dazzle his students, Mr. Turner collected volumes of ammonia gas and carbon dioxide gas. As the two colorless gases were combined in a closed two-liter bottle with a small amount of ammonium hydroxide, the chemistry students watched in amazement at the growth of white crystals inside the bottle. What happened inside the bottle as the gases were mixed?