Melted butter is used in cookie recipes to create cookies with a slightly different texture. It leads to thinner, chewier cookies with a slightly crispy edge.