Headaches from weed? Why?

Basically im smoking on dry sift and I get a headache whenever I stand up or smoke cigarettes. It‘s so annoying.

Can‘t be bc of dehydration, I‘m drinking enough water, even more when I smoke weed.

I also get this from different hash and also hhc carts. Why is this happening?

It‘s not like migraines and not like oder headaches I get (I rarely get them anymore, only when smoking weed, I believe)

So yeah I don‘t know what to do, I like smoking weed and I don‘t get a headache everytime, just sometimes.