HCl dissolves to about 450 volumes of gas per volume of water. Its solution is acidic, so blue litmus turns red.
Switch to O₂ and squeeze. Nothing happens — the water cannot swallow the gas, so the pressure inside stays at 1 atm and there is nothing for the atmosphere to push against. Now try CO₂: the liquid creeps a little way up the tube but never reaches the jet. Only a very soluble gas empties the flask fast enough to make a fountain.