I've had that before. Sometimes it happens when I'm not feeling with...sick with the flue. The thought of brushing my hair would make me cry.
I have no idea what causes it. I think it must have something to do with nerve endings. Like you hadn't bumped my head or anything.
It will be interesting to see if someone comes up with an answer to this one.