For some people, dysfunction involving the jaw joint and surrounding muscles may contribute to headaches, particularly around the temples, cheeks, and sides of the head.