The large, loose and bulky stools are suggestive of malabsorption
and needs for the evaluation of pancreatic enzyme insufficiency and this may be the reason for not gaining weight. And hyperthyroidism
also should be ruled out by investgating with thyroid profile so consult your Pediatrician
to rule out malabsorption and hyperthyroidism and the other causes of not gaining weight and loose stools.