The secret is in the dough. If your cookie dough is too dry and crumbly, you cookies will be dry themselves. If your dough is too sticky, the cookies will flatten out and turn crispy during baking. To end up with the perfect chewy cookies, you need your dough to be pliable so that it will hold its shape while baking, so that the cookies turn out soft, chewy and moist.