The first bleached reef I saw looked healthy from the boat. The water was clear, the light was good, the shapes were all there. It was only underwater that the problem became obvious: the branching corals were white, not white-ish, but the flat, chalky white of exposed skeleton, with a few fish moving over them as if nothing had happened.
Bleaching is often described as coral dying. It is not, at least not at first. It is a partnership breaking down, and the visible whiteness is the absence of the partner rather than the presence of death. Understanding that distinction is most of the biology.

An animal that farms inside its own cells
A coral polyp is a small animal, a few millimetres across, built like a miniature sea anemone: a column with a mouth ringed by tentacles, sitting in a cup of calcium carbonate that it secretes itself. Colonies are thousands of these polyps, each connected to its neighbours, all sitting on the structure the colony has built up over centuries.
Inside the cells of the polyp's gastrodermis live single-celled algae, historically called zooxanthellae and now placed in the family Symbiodiniaceae. They are dinoflagellates, and they photosynthesise. The sugars and other products they make are passed to the coral, and for a reef-building coral that supply is the main energy source, not a supplement. The coral, in return, provides shelter, nutrients from its waste, and a position in clear shallow water where light reaches.
That arrangement explains the geography of reefs. Corals flourish in warm, clear, shallow tropical water because their algae need light, and the water has to be clean enough for light to reach them. It also explains the colour. A living coral's brown, green or golden hue is largely the algae inside it. The animal tissue itself is nearly transparent.
What heat actually breaks
When water temperature rises a degree or two above the local summer maximum and stays there for weeks, the symbiosis becomes unstable. The algae's photosynthetic apparatus is sensitive to heat, and under sustained high temperature it begins to malfunction, leaking reactive oxygen species instead of neatly passing electrons along. Those molecules damage both the algae and the coral cells around them.
The coral responds by expelling the algae, or by the algae leaving, or by the coral digesting them. The literature supports more than one route depending on species and conditions, and the outcome is the same: the tissue empties of pigmented cells, the white skeleton shows through the now-translucent tissue, and the colony looks bleached.
With the algae gone, the coral has lost its main food supply. It can still capture plankton with its tentacles, and many species survive a mild bleaching event on stored reserves and heterotrophy. If the water cools within a few weeks, algae are taken back in and the colour returns. If the heat persists for months, the coral slowly starves, and once it dies the skeleton is colonised by algae and the structure begins to erode.