This is because it's a definite article, which changes depending on the gender of the noun it precedes.
* Masculine: Le (the)
* Feminine: La (the)
So, "la" is the feminine form of the definite article, and therefore, "a" is a feminine word in French.