Diabetes can cause poor circulation in the feet, making ulcers more likely to form when the skin is damaged and making the ulcers slower to heal.