Welcome to e health forum.
The history provided does not give enough information to make a proper diagnosis.
You might consult with a pediatrician who can examine your kid and provide proper explanations. In addition, allergies or absorption defects also need to be ruled out by proper evaluation.