My partner read a book on food recently. They made an obvious point I’d never thought of before: Food is eaten in our stomachs by bacteria. If the bacteria in our stomachs can’t (or won’t) eat something, that means it’s not digestible. That means it’s not food.
If something is shelf stable, that’s because the bacteria can’t or won’t eat it. If bacteria doesn’t want to eat something, it’s not food. And you probably don’t want it in your stomach.
Some things are shelf stable by physically keeping the bacteria out of it (eg canned food). That seems fine. But how do they make shelf stable cheesy / creamy products? Bacteria loves cheese. They do it with weird additives and substitutes that - by design - bacteria hates. But that also means our bodies can’t really eat it either - since we use the same bacteria in our stomach to digest things.
Plenty of healthy things are convenient. Like, apples! But healthy food is rarely shelf stable. Almost by definition.