Hiccups occur when a spasm contracts the diaphragm, a large sheet of muscle that separates the chest cavity from the abdominal cavity. This spasm causes an intake of breath that is suddenly stopped by the closure of the vocal cords (glottis). This closure causes the characteristic hiccup sound.