It's frequently genetic but not always. However, if your baby is a happy spitter, it's highly unlikely that he has a milk allergy (that would cause more painful spitting and other issues like GI pain, rashes, etc). Sounds like he just has an immature LES and will likely grow out of it soon.