If you overbaked them, made substitutions, or measured your flour by volume and packed your measuring cup, you could end up with hard cookies.