Hello,
From the given clinical history it seems that, there is either pericoronitis I. E inflammation of the gums flap called opercular flap and might get hurt while chewing foodstuffs ,
Or
Eruption pain with wisdom tooth which may or may not be impacted
so requires in office consultation & treatment accordingly.
Next Steps
visit dentist / oral surgeon for further details
Health Tips
rinse with lukewarm salt water after every meals to maintain oral hygiene