Many things can cause ketoacidosis. These include not having enough insulin, being sick, high blood sugar, and fasting too long. People with diabetes are especially at risk.