It sounds like you are having a small intestine obstruction (a blockage, complete or incomplete, in the intestines that prevents gas, fluids, or solids from moving through the intestines normally).
Symptoms of bowel obstruction are waves of cramping abdominal pain, occurring around the belly button area.
Patient with bowel obstruction vomits repeatedly, often regurgitating large volumes of food eaten hours earlier.
A vomit is usually green in color.
You may experience unusual fullness after eating, bloating (gurgling sounds coming from your belly), and a lack of appetite, too.
Constipation and inability to pass gas are common signs of a bowel obstruction.
However, when the bowel is partially blocked, you may have diarrhea and pass some gas.
Many different problems can cause a bowel obstruction, such as scar tissue from previous surgeries, certain types of hernias, cancer, twisting of the intestines, or diverticulitis.
Also, is very possible that you were suffering from peptic ulcer located at duodenum, the first part of small intestines, and due to scaring and swelling caused by ulcer, you are experiencing bowel obstruction.
Visit a doctor!
Best wishes!
Marija