@merle3564 Not the best way to word it but it’s a good point.
OP, if you’re really struggling to gain weight, despite a calorie surplus, then it’s worth speaking to your doctor. You could ask for a blood test to check your thyroid and for coeliac disease.