Scientists at the University of Melbourne solved a long-standing geological mystery about Victoria's famous Twelve Apostles rock formations.