A tension headache is caused by excessive pulling force of tight muscles in the back of the neck that exert tension on their attachments on the head.
Greater Occipital Neuralgia
Greater occipital neuralgia is caused by compression of the greater occipital nerve, usually by a tight upper trapezius or semispinalis capitis muscle.