A lot of ice cubes keep the temperature of the drink lower, which means that the carbon dioxide in the tonic finds it harder to escape, keeping the drink fizzy for a long time.