It is hard to answer without knowing whether you do or do not have a wisdom tooth coming in, and without knowing the condition of the gum in the area.
Please have a dentist check, as the area you are describing is common to start gum disease
. This is #1 cause of tooth loss in adult (not from having a cavity
!) x-rays will show if a wisdom tooth is now pushing out, if so.