This is known as scalp dysesthesia. It is often triggered or exacerbated by a psychologic or physical stressor and may be a manifestation of an underlying psychiatric issue or chronic pain syndrome.