when air travels into the lungs, if it has to pass through fluid it causes a crackling noise (like blowing bubbles through a straw, but much more high-pitched, because the airways are tiny.
It sounds a bit like the noise you hear if you rub your hair between your index finger and thumb.
The fluid can be from various things- infection is one, and probably the most likely in your ds's case.