I have noticed that cannabis induces bruxism.
Bruxism gives headache because the jaw muscles are located in the head, try to identify whether this pain is a muscular pain
in general headaches are not headaches, it sounds stupid but it's true, only few problems (in general more serious problems) generate true headaches (if you not a woman).