Why are canned corn and green beans ultraprocessed? They contain nothing but corn/beans and a touch of salt. If the salt is the problem, why do the unprocessed meals have added salt?
It looks like for the unprocessed meals, they chose a bunch of high in vegetables and whole grains, high fiber meals and chose a bunch of high calorie foods for the ultraprocessed meals [1]. No surprise people ate more calories when given the high calorie foods.
They say "dietitians scrupulously matched the ultraprocessed and processed meals for calories", but also that people were told to each as much as they like. What does that even mean? The calories can only be the same if you fix the quantity.
They don't define "ultraprocessed" or provide any mechanism for weight gain that would apply to their very varied selection of "ultraprocessed" foods.
The term "processed" is used to scare people about food, but the term is so broad that there can't possibly be a single mechanism by which various processed food would be unhealthy. Processing includes cutting, grinding, heating, cooking, mixing, adding ingredients, drying, deboning... basically anything you do to food. It's one thing to say a specific process, like adding sodium nitrite, is harmful. Making a blanket statement that all cutting, cooking and combining of foods is bad should raise a bit more skepticism.
If the article has a more specific definition of processed, they should mention it because their choices seem pretty arbitrary.
[1] Study meals: https://www.cell.com/cms/10.1016/j.cmet.2019.05.008/attachme...