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.
Sugar is sugar, but it’s better that you’re getting vitamins and fiber from those plants as fiber will slow the rate of absorption.