By chilling the cookie dough before baking, the fat in the chilled cookie dough takes longer to melt than room-temperature fat. And the longer the fat remains solid, the less cookies spread.