Messenger of Allah ﷺ said, "The (Hell) Fire complained to its Lord saying, 'O my Lord! My different parts eat up each other.' So, He allowed it to take two breaths, one in the winter and the other in summer, and this is the reason for the severe heat and the bitter cold you find (in weather).
أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ ؓ يَقُولُ قَالَ رَسُولُ اللَّهِ ﷺ اشْتَكَتِ النَّارُ إِلَى رَبِّهَا فَقَالَتْ رَبِّ أَكَلَ بَعْضِي بَعْضًا فَأَذِنَ لَهَا بِنَفَسَيْنِ نَفَسٍ فِي الشِّتَاءِ وَنَفَسٍ فِي الصَّيْفِ فَأَشَدُّ مَا تَجِدُونَ فِي الْحَرِّ وَأَشَدُّ مَا تَجِدُونَ مِنَ الزَّمْهَرِيرِ