Fruits mostly have much less sugar period, it's not really other ingredients that help process it. (Unless you over-ingest them by juicing, in which case OJ can be just as bad as Coke.) And yogurt is often full of just as much sugar as ice cream.
The main theory around why ice cream doesn't show the negative effects is that the sugar is mostly trapped in a fat matrix that takes a long time to break apart and therefore to digest and release the sugars. So there's very little harmful sugar spike in the blood, and the carb intake surprisingly becomes more akin to e.g. slow-digesting unprocessed whole grains (obviously without benefits of fiber or other whole-grain nutrients).
Of course it's also very different if we're talking about plain chocolate ice cream, vs filled with ribbons of caramel and chocolate-coated candy pieces, which will produce sugar spikes. And of course it's also not accounting for overeating, ice cream or not. If you eat calories you don't need, it's going to make you fat no matter whether it's ice cream or something else.
The main theory around why ice cream doesn't show the negative effects is that the sugar is mostly trapped in a fat matrix that takes a long time to break apart and therefore to digest and release the sugars. So there's very little harmful sugar spike in the blood, and the carb intake surprisingly becomes more akin to e.g. slow-digesting unprocessed whole grains (obviously without benefits of fiber or other whole-grain nutrients).
Of course it's also very different if we're talking about plain chocolate ice cream, vs filled with ribbons of caramel and chocolate-coated candy pieces, which will produce sugar spikes. And of course it's also not accounting for overeating, ice cream or not. If you eat calories you don't need, it's going to make you fat no matter whether it's ice cream or something else.