This is because the word for sugar, "sucre", is a feminine noun.
You would say "le sucre" (the sugar) as the definite article "le" is masculine, but this is because "sucre" is feminine and you need to use the masculine definite article to precede a feminine noun.