People genuinely enjoy those foods because they're closer to their bliss point than natural analogues. Increasing salt, fat and sugar content of processed foods doesn't mean they're better for consumers. They just mean they're more addictive. People consume more of them and are more likely to purchase them in the future.
https://en.wikipedia.org/wiki/Bliss_point_(food)
We have no issues identifying that restrictions on tobacco are acceptable from a public health standpoint - the same chemical reward hijacking is being done with food.