If you don't breathe out enough, CO₂ builds up in the blood and turns it acidic.
Respiratory acidosis is caused by hypoventilation, leading to CO₂ retention and a low pH. Causes include COPD, decompensation in life-threatening asthma or pulmonary oedema, neuromuscular disease, obesity hypoventilation syndrome and sedative drugs such as benzodiazepines or opiates.