Lobsters and other shellfish have harmful bacteria naturally present in their flesh. Once the lobster is dead, these bacteria can rapidly multiply and release toxins that may not be destroyed by cooking. You therefore minimize the chance of food poisoning by cooking the lobster alive.