When dogs vomit yellow liquid, it may simply be that the stomach is empty. Gastric acids irritate the stomach lining, causing the dog to vomit. This explains why some dogs will throw up when they are especially hungry. However, there are other problems that can make dogs vomit, so don't dismiss your dog's yellow vomit just yet.