The change in texture of the cookie is a chemical change. The heat from the oven causes the ingredients to undergo chemical reactions, resulting in the formation of new compounds and a different texture from the original ingredients.