The most likely cause is gastritis.
6 months of ppi is a long treatment. Somewhere some precautions and treatment is lacking. Proper gastritis regime needs to be started. Endoscopy may be required.
Next Steps
other causes need to be ruled out.
Health Tips
stop spices, coffee tea cold drinks alcohol if not already stopped.