During heavy exercise, muscles require more oxygen than can be supplied, leading to anaerobic respiration. This process produces lactic acid as a byproduct, which accumulates in muscle tissue and causes cramps. The other options are incorrect because CO2 is a normal byproduct, ethanol is produced in yeast fermentation, and muscles never have complete absence of oxygen (that would cause tissue death, not cramps).