We get hiccups when the diaphragm, the muscle that separates the chest from the abdomen, contracts involuntarily. This sudden contraction causes the vocal cords to close, producing the characteristic "hic" sound. Hiccups can be triggered by various factors such as eating too quickly, consuming carbonated beverages, sudden changes in temperature, excitement, or stress.