Well each layer has a certain amount of heat and the heat of the layers depend on how the earth is going to feel and when is it going to feel that way. Also they can create volcanos which make rocks and rocks can be used to create other rocks from the earth.