What causes headaches to vomiting?

Headache with vomiting has two possible causes: first, autonomic reaction, headache, especially vascular headache, or severe neuralgia, is often accompanied by autonomic dysfunction. Smooth muscles of the gastrointestinal tract are innervated by the autonomic nerves, and when their function is disturbed, symptoms of gastrointestinal discomfort such as nausea and vomiting often occur, as well as other symptoms of autonomic dysfunction such as heartburn and sweating. Second, high cranial pressure leads to vomiting. Patients who are suffering from intracerebral organic diseases, such as cerebral hemorrhage, subarachnoid hemorrhage or intracerebral tumor, central nervous system infection, intracranial venous sinus thrombosis, etc., can lead to a significant increase in intracerebral pressure, causing secondary vomiting, which is usually jet-like, and the vomit can be coffee-like fluid caused by gastric contents or bleeding from stress ulcers.