This has been happening to my father for years. He always thought it was because he has a steel plate in his head (old skull injury), and that it was causing some kind of electrical disturbance. But it happens to me too.
Come to think of it, I find his injury verrrrrry interesting. I hadn't thought about it in some time.