Make her honest and say if she actually cheated on the diet. Insulin-resistant means that her blood sugar could have got high.
From wiki:
"In diabetic patients, ketoacidosis is usually accompanied by insulin deficiency, hyperglycemia, and dehydration. Particularly in type 1 diabetics the lack of insulin in the bloodstream prevents glucose absorption and can cause unchecked ketone body production (through fatty acid metabolism) potentially leading to dangerous glucose and ketone levels in the blood. Hyperglycemia results in glucose overloading the kidneys and spilling into the urine (transport maximum for glucose is exceeded). Dehydration results following the osmotic movement of water into urine (Osmotic diuresis), exacerbating the acidosis."