When a body is deformed, it’s centre of gravity changes.
The centre of gravity
The centre of gravity (COG) of the human body is a hypothetical point around which gravity’s force appears to act. It is the point at which the combined mass of the body appears to be concentrated. The Centre of gravity of a freely suspended body always lies vertically below the point of suspension. The centre of gravity of an object is the point you can suspend the object from without any rotation because of the force of gravity.