
In metabolic problems the compensation is respiratory, and faster
An increased anion gap signals the presence of a metabolic acidaemia
in terms of endogenous metabolic causes anything that causes hypovolemia may cause it
such as an embolism or type of shock. Both of which leading to increased anaerobic metabolism and therefore increased lactic acid

More endogenous causes of metabolic acidemia inc
Ketoacidosis typically caused by unmanaged Diabeties (DKA)
also can be caused by alcohol and stravation
Ketoacidosis causes a raised anion gap
Exogenous causes inc