Sorry to hear about your husband's problem. These problems can either be due to the cancer, which has been ruled out by Ct scan
and an endoscopy
. Other cause of this pain could be due to the medicines which he is receiving. It could also be irritable bowel syndrome
but that is a diagnosis of exclusion and other causes should be ruled out before he starts taking treatment for the same.
Hoping for the best.