Hello Mam, it can be because of the reason which you have mentioned but the persistent wound is termed as dry socket where the healing will be compromised due to many reasons like improper maintainance of oralhygine or any personal Hapbits or might be of
vitamin deficiency, check for this.
Use lukewarm water for gargling.
But it will take time to heal so you don't have to worry about it. X-ray seems to be fine.