Rocks in the earth's:

crust are cooler than rocks in other layers
mantle are cooler than rocks in other layers
core are cooler than rocks in other layers