Headache on top of head results due to trauma or temperature changes. Ice pick headache and exercise headache are two examples of temperature changes that lead to sudden vasoconstriction and vasodilation of blood vessels in the scalp, that result in headache.