Here's why:
* "Feminine" is "féminin" in French, which is a masculine noun.
* "Masculine" is "masculin" in French, which is also a masculine noun.
This might seem confusing, but remember that in French, nouns have a gender, and adjectives agree with the gender of the noun they describe.