Why do lobsters, shrimp, and crabs turn red when cooked?

The heat breaks up the proteins and releases the carotenoid pigments, whose real color is the aforementioned bright orange and red.

Why do lobsters, shrimp, and crabs turn red when cooked?
Lobsters. Image by ksbaeg from Pixabay