Why does methanol show an exothermic reaction with water at room temperature while it gives an endothermic reaction with water in cold conditions?

Methanol does not react with water. Mixing them is exothermic.