Baby has diarrhea and I have cramps & nausea

Ly

My 10mo has had runny, yellow diarrhea for 3 days now (4 diapers every day) and I have had light cramping and light nausea. I've started giving her pedalite but I don't know why we're both feeling sick like this? Is it something I'm eating? Is that a thing? We don't have fevers and we don't have covid. I'll be taking her to the pediatrician tomorrow if it doesn't improve.