Although numerous things can contribute to gastroparesis, diabetes and previous surgeries are the most common causes. Diabetes can be a cause due to the prolonged levels of high glucose that slowly injures the nerves in the stomach. In some cases where a peptic ulcer may have obstructed the stomach, the muscles of the stomach slowly dilate, and even with surgery the muscle never regenerates again.