Recurrent pain that is not due to an injury to the body is often mediated by a process called central sensitization, where the sensory regions in the brain become oversensitive. It is possible that central sensitization is involved in migraine pain in the areas of the face and head where the trigeminal nerve mediates sensation.
Source: Medical News Today