Similarly, it's not suprising when pasta sauce has some sweetness added -- grandma also likely added a bit of sugar if she found tomatoes too acidic, which many do.
The only thing that matters is that it's sugar. HFCS isn't somehow worse. If you're trying to eliminate sugar overall then sure, of course avoid HFCS. But if you're fine with a certain moderate amount of sugar per day, then the relatively small amounts of HFCS in things like pasta sauce and peanut butter are fine. The same way the sugar or honey in teriyaki sauces is. They count towards your daily allotment of sugar. For people trying to eat relatively healthily, avoid the soda but there's no reason to worry about the HFCS in ketchup or normal amounts of tomato sauce, for goodness' sake. The only reason to avoid HFCS entirely is if you're truly cutting sugar out of your diet entirely. Otherwise they're just substitutes for practical nutritional purposes.