This is usually either because you've overworked the dough, not allowed it to rest for long enough, or have overstuffed the cookies.