Cold milk traps tiny air bubbles better than hot milk. To stabilize the foam, you need to slow down the molecules in your milk.