When the temperature in the ocean becomes too hot, the correct response is:
The algae become harmful to coral and are expelled.
This process, often referred to as "coral bleaching," occurs when corals expel the symbiotic algae (zooxanthellae) living in their tissues, leading to a loss of color and essential nutrients, which can ultimately harm the corals.