Ear infection or stomach bug

Abigail

My son was running 102 fever for 3 days, took him to dr Saturday. They thought it was a ear infection but waited it out until tomorrow to see if it was viral or ear infection. Now his fever is 100-101 goes off and on and has diarrhea now. Can an ear infection cause diarrhea?