Having hot things during the summer and cold things during the winter isn't what many would do but it's a smart idea.
Hot food during the summer will make you sweat a bit which in turn cools down your body.
Similar concept with having cold things during the winter but instead of losing body heat, the lack of body heat causes the small hairs on the body to straighten which in turns gathers heat from the air around~