To diagnose the cause of changes in bowel or bladder habits, healthcare providers may recommend a variety of tests, including colonoscopy, urinalysis, imaging studies like CT scans or MRI, and blood tests. These diagnostic tools help in identifying whether the symptoms are due to cancer or another condition.