they go from soft to hard because they start to dry out, and it begins as soon as you pull them from the oven. (yikes.) whatever moisture is left in the cookies is always in a state of evaporation. at the same time, the sugars and starches are solidifying.