The umbilical cord extends through the skin, and shrivels up on the inside because it is no longer needed after you are born. This puts a little tension on the button, “pulling” it in. As your belly grows the shriveled part does not grow too, which increases the tension. Often pregnant people do get flat belly buttons when the skin is stretched.
Latest Answers