Leaves change color due to changes in length of daylight and changes in temperatures, the leaves stop their food-making process. The chlorophyll breaks down, the green color disappears, and the yellow to orange colors become visible and give the leaves part of their fall splendor.
Sources - Google