One of the primary causes of tetany is hypocalcemia, a condition where there is an abnormally low level of calcium in the blood. Calcium is crucial for stabilizing the electrical threshold in nerve cells, and its deficiency can lead to increased excitability. Other causes include hypomagnesemia and alkalosis. These ionic imbalances can affect the histological structure and function of muscle and nerve cells.