It has many causes, including muscle, nerves, or vertebrae in the neck and some types of headaches, and it may accompany irritable bowel syndrome due to sleep disturbances.