Hot apple pies can be really hot.  The cold ice cream helps the pie to cool.