Why does a crab turn red when cooked?

Why does a crab turn red when cooked? Let's take a look at what the story in the book says!

Scientific Enlightenment Cozy 7 6 5 4 8 Unauthorized Unauthorized Why? Ten Thousand Questions