Meals need to packable, lightweight, shelf-stable, and provide enough energy to keep going. I’ve listed calories, fat, carbs, and protein.
Fat content is a plus in these recipes. Fat is a source of dense calories which translates to providing a greater amount of energy per ounce of weight. Protein can help muscles recover from a day of hiking and carbs can help refuel muscles; the actual mechanisms are more complicated than this but this is essentially what it breaks down to for long hikes.