Question: what does your stomach do when you throw up?
Answer: Simultaneously with downward movement of the diaphragm, the muscles of the abdominal walls are vigorously contracted, squeezing the stomach and thus elevating intragastric pressure. With the pylorus closed and the esophagus relatively open, the route of exit is clear.