The climate change impacts a coral in many different ways. But the main reason that could happen is if the climate were a coral lives is too cold and it begans to die. Corals have feelings toi, when they get a sense that they are going to die they try to leave but if they can't they will just die.
A Dormant gene allows for these extraneous situations to occur