Why do cookies spread in the oven?
When cookie dough heats up, the butter melts and the dough softens and spreads out. Then the eggs and flour set and hold the cookie’s shape. Chilling the dough first can make cookies spread less. Baking soda helps them puff and brown.