The timing of the nausea or vomiting can indicate the cause. When appearing shortly after a meal, nausea or vomiting may be caused by food poisoning, gastritis (inflammation of the stomach lining), an ulcer, or bulimia. However, certain food-borne bacteria, such as salmonella, can take longer to produce symptoms.