A protein is folded and held in place by hydrogen bonds, disulfide bonds, and Van Derwalls Interactions. These are weak bonds that can be disrupted as the molecules speed up. Heat energy can cause enough movement to disrupt these bonds and denature a protein. If a protein is complex enough, the bonds cannot fall back into their natural places and it is permanently damaged. Very simple proteins can re-nature as they cool.