Answer :

Some layers consist of magma and others consist of rock. The layers in the middle are hotter and have a lot of radiation in them.