If you want to gain weight, you should eat: Potato chips, sugar-sweetened beverages, unprocessed meats, etc.
If you want to lose weight, you should eat: Nuts, fruits, vegetables, yogurt, etc.
The study says that "adjustments were made for lifestyle". No doubt they did, but I wonder how complete those adjustments were. Look again at that list of foods. Is there no implied lifestyle associated with a diet of Lays and Dr. Pepper vs. cashews and sprouts?