The reason behind this is the Mpemba effect. There are certain scientific explanations for this effect. One is that hot water will release vapors, hence, less water will be left behind. Furthermore, boiled water does not have minerals so faster freezing is possible. Also, high-temperature difference plays a role in faster freezing.