Complex sentence: When the rising gas bubble broke the surface, it ejected gas into the air, which because of the shock wave, condensed to form a Wilson cloud.
Split into simpler sentences: When the rising gas bubble broke the surface, it ejected gas into the air. Because of the shock wave, the gas condensed to form a Wilson cloud.