The red bubbles are enemies, you have to hold Z while touching them to cure them. If you cure them you can collect cured bubbles. Get 3 cured bubbles to unlock double jump.
Ah... I see :)