As he has started treatment of tuberculosis
, now gradually he will start recovering and he will have gaining weight.
But it seems that he is having diabetes
In diabetes again weight loosing is a problem.
Consult physician and rule out diabetes.
If diabetes is there keep it under control.
Continue high protein, well nourished diet.
Ok and take care.