So, while counterintuitive, hot water can indeed turn into ice faster than cold water under certain conditions due to the phenomena of supercooling and differences in viscosity.
Actually, that's a common misconception, but it's not true! Hot water doesn't turn into ice faster than cold water. In fact, it's the other way around. Cold water will freeze more quickly than hot water.
The variables involved, such as initial temperatures, conditions of freezing, and water impurities, can affect the freezing process and make it difficult to draw firm conclusions.