Sudden diarrhea? (Sorry if tmi)

So. I hadn't been feeling super well the last few days but am at the tail end of it now and have had no abdominal discomfort from this cold. I just ate dinner and not but five minutes later my stomach started gurgling and I needed to go to the bathroom IMMEDIATELY.  Is this a new pregnancy symptom for me?  Or caused by the cold I'm getting over?