It is possible that the temporomandibular joint -(tmj) joint has a problem. The capsule in the joint may be dysfunctional or the you may be dislocating your joint from time to time.
This will make it both painful and hard to chew. You would need to see a specialist who specializes in TMJ care to evaluate this joint. This is classically an oral surgeon.