Anytime an infant that small has diarrhea you should take them to your pediatrician. Did you change him to a soy formula for a medical reason? If so then maybe the medical reason is why he is feeding erratically. If you switched him for no particular reason, maybe he is not tolerating the soy.
He has also had alot of diarrhea lately