Because babies haven't fully developed their all of their homeostatic controls (including the hypothalamus) so they cannot counteract high temperature. This is why babies should always wear hats in the cold and their bath temperature should be at body temp.