it could be the food but that doesnt seem likely, was this a new bag or one that youve had for awhile? If its one that you've had for awhile you would think that it would of made them sick at every feeding and I dont think they would of recovered so quickly.
I just saw that you opened a new bag when I went back and reread your post. It very well could be the food then, you could try another bag and see what happens???
It does sound like they may of had a virus, similar to a stomach virus in humans. My 2 bigger dogs had one a couple of years ago. Out of the blue my sheltie got sick and was sick for 3 days he only threw up once but had terrible diareah I had to take him to the vets to have him rehydrated and just when my sheltie started to feel better my beagle got sick same symptoms same amount of time. Vet said that dogs get these kinds of virus's all the time just like humans.
Could they of gotten into something outside maybe?
Maybe you could call your vet and ask them, they should be able to give you some suggestions as to what it may of been.
Well I hope they are feeling better.. ((hugs)) for both of them.