There could be various reasons for stiffness including neurectomy during surgery if required which can be verified with an OPG report image.
Next Steps
Get an OPG done from any government hospital or atleast a dental hospital and share the image.
Health Tips
When stiffness and pain cycle begins....apply ice pack or some ice externally on and around the affected region.