Consider that nutrition labels are largely focused on macronutrients. Carbs, fat, protein. Calories in and calories out.
What processed food tends to lack are micronutrients found in fresh, high-quality produce. This goes beyond vitamins (which are becoming scarcer due to agricultural practices). Anthocyanins, carotenoids, and other phytochemicals are produced by plants as protective agents. Those same chemicals help mitigate the entropic forces the body is subjected to over time.
Going back to macros, not all of them are created equal. Glucose syrup can have the same carbohydrate content as a sweet potato, but their glycemic index (how it impacts the functioning of the body) will vary. That doesn't get into the value of the fiber for the gut microbiome.
The differences are there when looking beyond the surface.