Tomatoes and related foods like tomato soup and tomato sauce can cause an upset stomach or diarrhea. Here's why and what to do about it.