Sorry to hear that Max has been vomitting and I hope he feels better soon.

I don't know what the problem could be, but I think you should call your vet and describe the symptoms as you have here on Pet Talk and he/she can tell you whether you have something to worry about or not.