Hi., I can understand your concern.
Yes it can be due to acidity and Gastritis.
Take
Tab gelusil 3 times a day after food
Tab razo d morning before food
Syp sucrafil o twice a day before food
For 5 days.
Next Steps
if issue persist, need to see a gastrohenterologist in person.
Health Tips
avoid spicy oily and outside food items
drink adequate water