It's not necessarily eating habits that are responsible for your build. It's possible, though. Genetic predispositions could responsible as well. Whatever the case, you are in control of your build (perhaps not your height).
Practice good eating habits and work out regularly and your muscle mass should increase.