Chewy cookies have more sugar in the dough, meaning less interaction with the leavening agents (baking soda and baking powder). The lessened interaction means less rise and more spread. In addition, chewy cookies have a higher fat content from butter or egg yolks which keeps cookies moist and chewy.