Some gynecological procedures, such as hysterectomy or laparoscopy, can temporarily affect bowel function. Anesthesia, medications, and the physical manipulation of abdominal organs during surgery can lead to postoperative diarrhea. Patients should follow their healthcare provider's advice on managing these symptoms.