Certain vegetables cause gas and abnormal bowel habits. Avoid cruciferous vegetables such as broccoli, cauliflower, cabbage, coleslaw and sauerkraut. Also, limit artichoke, brussels sprouts, onions, shallots, leeks and asparagus.