When the temperature in the ocean becomes too hot, the correct response is:
The algae become harmful to coral and are expelled.
This process is known as coral bleaching, where stressed corals expel the symbiotic algae (zooxanthellae) that live within their tissues, leading to a loss of color and essential nutrients.