Symptoms of gastritis after kidney infection tabs but endoscope showed 'chronic' gastritis, what's the cause?

Several posibilities. The most likely is helicobacter pylori infection, and this should have been tested for at the time of the endoscopy. Other issues should have been addressed by the gastroenterologist who performed the procedure.