It sounds impossible, but hot water can freeze before cold water. How?
Common sense says cold water should freeze before hot water.
In some conditions, hot water freezes faster than cold water.
Some hot water turns into vapor, leaving less water behind to freeze.
The bigger temperature difference makes heat escape faster into the surroundings.
Heating removes gases that slow freezing, helping ice form quicker.
Under the right conditions, hot water freezes faster than cold water due to multiple combined factors.