I was explaining this to my daughter in quite simplified terms the other day- we evolved to taste sugar and enjoy it because finding a sweet edible plant meant we had a source of energy to help us hunt that day. Pretty useful if you’re a hunter-gatherer.
So we seek out sugar. Now we can get it whenever we want it, in much more massive quantities than we are supposed to be processing. Most of us are addicted. I’m not an exception.
It’s definitely true that eating fruit is a very healthy way to consume sugar. But the amount of actual fruit in those fruit yogurts is pitifully small. Advertising aside, it’s not like eating an fresh piece of fruit; and it is not why the yogurt has so much sugar it in.