He could have something lodged in his mouth or throat. That will cause some foaming. Run your finger in there and check around his jaws.
Parvo will also look like foam, they vomit until nothing is left and then they kind of just throw up foam and get really weak. Parvo will kill them in a...