This isn't an abnormal thing in biology. If excess energy is made (or consumed), then a portion of the excess can get stored for later use. In people that's as fat -- in plants it is a starch. It may be converted later and get used, or may just hang around for a long time. The difference is that in trees the starches tend to be laid down within the rays of annual rings, but more can be added and some can be remobilized down the road as needed. Rays are the tissues that 1. are living and 2. cut across annual rings, so the mobility of the sugar is higher than many other compounds in the wood.
The sugar we collect by tapping comes from many annual rings of rays in the wood. In fact, the average age of the sugar molecules in maple syrup tends to be around 3 yrs, but ranges from less than 1 to 20-25 yrs. The hydraulic conductivity (the ability/rate/amount of sap to move through the stem) and carbohydrate levels tend to be highest in the outermost rings, then drop off as we get deeper. That's why drilling a taphole beyond a certain depth doesn't get us a lot more syrup yield. These reasons (higher sugar in the newest rings and higher hydraulic conductivity in newer rings) are why we've designed the barb spout
https://mapleresearch.org/pub/innova...ystems-spouts/ currently being tested in several places in the U.S. and Canada. The new spout design allows better collection from shallower parts of the taphole and allows better collection during the frequent short thaw periods (when only the outermost portion of the wood thaws out) in which normal spouts do not run or run much.
At a certain point (decades), some amount of carbs are lost due to continued tree growth when the sapwood deep in the tree eventually converts to heartwood and is thus lost to the tree (and to sugarmakers).
Before the season starts, from the fall through the winter, the sap in xylem tends to be quite low in sugar (it's all being converted to starch and stored for future use). That's why when people try fall and early-winter tapping the sap tends to have very low sugar so syrup yields tend to be lower.