I did some searching regarding your problem. It seems to be a common,problem for people. Most of what I could find were saying that it is a TMJ issue or perhaps you are clenching/grinding your teeth at night when you are asleep.
Here is a web site I found that tells you what TMJ is
I hopes this helps