Head pain when shaking?

Does anyone get this? It’s not like a long headache, more of a tense pain in the side of head or temples.

My example was that I was just shaking a nail varnish bottle. And the side of my head hurt. I used to notice it if I bounced on a trampoline. Sometimes I also get pain if I lie on my stomach with my head up.

I’m thinking it might be sinus issues or dehydration? Anyone get the same?