Why do doctors ask patients if they have farted after surgery for mechanical bowel obstruction?

The most important reason for the doctor to ask the patient if there is any farting is to find out if there is any gas being expelled from the bowel, and the most important reason is to find out if there is still intestinal obstruction. In general, the presence of gas or bowel movements will largely rule out intestinal obstruction, which is a reference point for whether or not you can eat.