Functional dyspepsia is a possibility. Or an ulcer, but usually eating makes stomach ulcers feel better. If you're not eating a lot of carbs, being in ketosis can make you feel nauseous. Do you have any other symptoms?