Health Conditions that Cause Mucus in Stool. A sudden onset of mucus in the stool, accompanied by urgent diarrhea, cramping, fever, and blood in the stool may be indicative of a bacterial infection. If you are having any of these symptoms, contact your physician immediately.
Atelectasis, or localized obstruction of the lungs that may result from mucus plug obstruction, can occur resulting to the collapse of a portion of the lungs. This is enumerated by the study published by Respiratory Care in September 2007.
The body senses this extra mucus and tries to eliminate it by triggering coughing. The third problem is that since we generally have a limited lung function, our cough response is not as strong as it should be which makes it more difficult to cough the mucus out.