Urinary incontinence can arise from a variety of factors, including age-related changes in the bladder, weakened pelvic floor muscles, and medical conditions such as diabetes, multiple sclerosis, or stroke. In women, hormonal changes during menopause and childbirth can lead to stress incontinence, while men may experience incontinence due to prostate issues. Certain lifestyle factors, such as obesity, high caffeine or alcohol intake, and chronic coughing, can also contribute to the condition.