It sounds backwards, but spicy food in the heat is a genuinely widespread tradition across South Asia and much of the tropics, and there is a reason for it.
Chilli makes you sweat, and as that sweat evaporates your body cools down. Combined with the sharp, tangy heat of a good curry, the effect is a meal that leaves you feeling refreshed rather than weighed down. Spices also have mild antimicrobial properties, which mattered a great deal before refrigeration.
So the summer curry is less a paradox than a very old piece of practical wisdom.