It is normal for babies who are ill to have poor appetite which leads to weight loss.
Try offering smaller but more frequent servings so it is easier for him to take in.
You may want to check this link for tips on how to feed your baby:
http://sg.theasianparent.com/what-to-feed-your-sick-child/
Read more