We know that the degree of hotness or coldness of the body can be identified on the basis of its temperature.
From the given objects, the flame of the candle, tea, sun and an iron are at a higher temperature and therefore are hot.
Whereas ice cubes and ice-cream are at a lower temperature and hence are cold objects.