Why do people put on differing amounts of weight?

Foods that make some of us put on weight can have little effect on others, according to research.