The pain pattern you describe—brief pain that shifts from one spot on the scalp to another, with no tenderness remaining at the previous site—is most commonly due to primary stabbing headache ("ice-pick headache"), tension-type headache, or irritation of small scalp nerves. It is usually benign if the neurological examination is normal.
Next Steps
Please consult a neurologist if the headaches persist for more than 1–2 weeks, become more frequent, or are associated with fever, vomiting, weakness, numbness, vision changes, seizures, or severe sudden-onset ("thunderclap") headache. Brain imaging may be required if any red flag symptoms are present or if the headache pattern is atypical.