Scientists have sought to understand the conditions that led to the Great Barrier Reef’s formation. A new study claims to have the answer.