Has anything changed? His exercise level? Amount of food being fed?
Ginger will vomit yellow bile when her tummy is too empty.
Perhaps try a small snack before bed to see if he can make it through the night. If it persists I would definitely be making a appt with my vet.
Good luck (and pictures please too
)