The first sentence says that eating is the only thing he does with ice cream. He does not bathe in it, or use it for spackling his ceilings.
The second says that the only thing he eats is ice cream. He does not eat bread or eggs or hamburgers.
Interested in Language