Bloating and unproductive vomiting in dogs can be signs of gastric dilation volvulus (GDV), which can occur in any dog breed, but is mainly found in deep chested breeds.
Bloating can also be a symptom of worms in cats.
Contact the practice as soon as possible if you are concerned about bloating.