You probably have the mental image of Rocky trying to bulk up by eating raw eggs. It’s a rather nasty image no? The reason for doing it that way is that some nutrients get lost after cooking.
An egg contains about 6 grams of protein, and when you eat them raw, you absorb roughly 50% of the protein. That means that 3 grams go to waste! Studies have found that when you cook eggs, the protein is absorbed at the rate of 91%.
The reason for the higher absorption percentage is that heat changes the molecular structural of protein. Not only that, but eating cooked eggs reduces other health risks, like salmonella.