Some dogs can't go that very long without eating or they will spit up the yellow bile. Since you say it happens often I doubt its just a coincidence so I suggest splitting up his/her food, so maybe feeding him/her 3 times a day, same amount of food tho