Why is it important to have an air gap in a water rocket?

Water is non-compressible. The air gap is what allows additional air to be pumped into the rocket.