Welcome to JA,
I am an Emergency Physician,
You seem to have a form of Gastric outlet obstruction, and the commonest os called Pyloric stenosis. This is usually a progressive illness that starts with 'gas' or dyspepsia over year, the acid erode the wall of the outflow valve of the stomach called the pyloric sphincter. Then with repeated cycle of healing and erosion it scars and begin to block the outflow. After eating the stomach dilates and start pressing on the diaphragm causing difficulty breathing.
Patients present with intermittent symptoms that progress until obstruction is complete. Vomiting is the cardinal symptom. Initially, patients may demonstrate better tolerance to liquids than solid food. In a later stage, patients may develop significant weight loss due to poor caloric intake.
The best way to diagnose this is by a Barium meal xray, which is taken after you drink a radio-opaque substance and xray is taken to see how it flows. A CT scn ultimately may determine the details
Meanwhile, your provider should prescribe a PPI like Nexium, or Lanzoperazole, and you should limit your diet to small mounts at frequent intervals, especially semi-solid/liquid diets.
It is IMPORTANT that you get a Gastro-entrology referal urgently