In this PB cookie recipe, there are a few factors that contribute to chewiness. Using all butter is an important element in creating the proper texture. Brown sugar also lends moisture, which contributes to a chewier cookie.