Ammonium chloride on heating decomposes through chemical sublimation to ammonia and hydrogen chloride gas Ammonia gas is less dense than hydrogen chloride It is a basic gas and diffuses out faster to turn red litmus paper to blue Hydrogen chloride is an acidic gas It is denser than ammonia gas and thus diffuses slower than ammonia gas to turn the already both blue litmus paper to red