Tissue damage activates nociceptors or pain receptors in the skin. A signal is sent to the peripheral nerve to the spinal cord where neurotransmitters or chemical messengers are released. It activates other nerves to pass signal to the brain. The signals are relayed to the somatosensory cortex for sensation, frontal cortex for thinking and limbic system for emotional response.
It will be melt in the layer of earth called mantle because mantle has a higher temperature than crust. and as it melt, it will be called magma.