A thickened uterine lining explains your heavy periods, and that monthly blood loss is very likely behind the low haemoglobin and the small, pale red cells on your blood report. The stomach burning and heaviness after meals point to the biliary gastritis your endoscopy already found, which is a separate problem from the heavy bleeding.
Next Steps
Treating the heavy periods through your gynaecologist is what will actually correct the anaemia long term, since tablets alone can't keep up with ongoing blood loss. For the stomach symptoms and trouble tolerating iron tablets, your gastroenterologist can suggest a gentler option or a different route.
Health Tips
Please see your gynaecologist and gastroenterologist together, since treating only one side will leave the other untreated.