It's due to the Mpemba effect. Hot water evaporates faster and also minerals and impurities of water are reduced due to boiling. Also, due to the high-temperature difference between cold surface and hot bottom, the cooling effect increases.