There are a lot of potential reasons for your dog's upset or gurgling stomach.
If your dog has an upset stomach and is shaking, (especially if they're a smaller breed), this could be happening for several different reasons.
Your pup might, for example, be frightened or excited, along with having an upset tummy.