Based on the history and photographs provided, it is not possible to make a definitive diagnosis online. The bump may be related to a local infection or a sharp tooth
Since it has become more prominent and painful, a clinical oral examination is recommended for proper evaluation.
Next Steps
It is good that you have stopped chewing pan masala. Please continue avoiding all tobacco and areca nut products. If the swelling persists, increases in size, discharges pus, bleeds, or is associated with difficulty in opening the mouth or swallowing, seek an in-person dental/oral medicine consultation at the earliest.
Health Tips
A detailed medical and habit history along with a clinical examination is required before any treatment or medication can be advised.