The most probable cause is the butter being too soft or almost melted. This might happen with the butter you use when making the batter and also if the batter is left out at a high room temperature before baking. When this happens, the cookies spread too much before the edges bake.