'Waterfalls' of gas reveal baby planets, study says