Why do babies look fatter at birth and thinner after a few weeks despite putting on weight

I remember how big my baby looked. Now he looks so small like he lost weight. Only he has gained more than a kilo of his both weight and it is not that he is taller, he only grew 1 cm taller.