The desire to vomit at night is related to indigestion, pyloric obstruction, and a cold abdomen. When indigestion exists in the human body, food will stagnate in the stomach after entering the stomach because it cannot be discharged in time. During the process of stagnation, the food will produce a large amount of gas, which will cause irritation to the stomach wall, leading to spasm and contraction of the stomach wall, and the food in the stomach will be vomited due to the increase in pressure. Gastric ulcers form a scar with each attack, and in recurrent episodes of the disease, they can even cause pyloric obstruction. The pylorus is the main passageway for food to be emptied into the duodenum, and when obstruction occurs, the food will not be able to be emptied properly. Patients with pyloric obstruction often vomit at night when they go to bed due to the fermentation of the food they ingested during the day, which leads to an increase in intragastric pressure. If you do not keep your abdomen warm at night and it gets cold, the stomach lining will spasm and contract, resulting in not only pain, but also nausea and vomiting.