They don't just throw up unless something is wrong. They do eat everything when they are puppies and that is what is concerning. If he has eaten something he shouldn't have, it could be an intestinal blockage, or he could have some underlying medical issue. I would take him to the vet soon if it continues. Please keep us posted and let us know how he is.