Diabetic ketoacidosis is caused by lack of insulin, and is
generally triggered by some other body insult including
dehydration, fasting, illness or infection.
Once ketoacidosis begins in earnest, it causes itself to get
worse. All of its symptoms are also causes of further problems, so
it will generally continue to advance until treatment or death.
More details on the mechanism of how ketoacidosis begins are
available on the wikipedia link below.
Ketoacidosis is often associated with hyperglycemia (high blood
sugar), but hyperglycemia won't actually cause Ketoacidosis. They
are both caused by shortage of insulin.