When oxygen supply cannot keep up
During vigorous exercise, anaerobic respiration can contribute when oxygen supply is insufficient. In muscle cells: glucose → lactic acid. Glucose is not fully oxidised, so much less energy is transferred per glucose than aerobically.
Anaerobic means without oxygen. It does not mean without energy transfer.