Diabetes can lead to complications throughout the body and commonly causes digestive disorders such as gastroparesis (delayed emptying of the stomach). This can lead to stomach problems and pain.