Get your sugar levels checked. Try eating a protein and see how you feel. How long?? Sometimes mid cycle this will happen. Also just before period.
You may have chronic gastritis. You need to be checked out for H pylori infection.
You need to have an A1c blood test to see where your sugar numbers are. You could be hypoglycemic (low blood sugar), sadly, the more sugar you eat when you have this issue the worse it can get, it can also lead to diabetes. I definitely would have it checked.