Here's why:
* "Masculine" in French is "masculin". It's a masculine noun.
* "Feminine" in French is "féminin". It's also a masculine noun.
This is a bit tricky because these words describe gender, but they are themselves considered masculine in the French language.