Knowing the gender of nouns in Spanish is complicated for English speakers. I remember a friend who told me that when she started studying Spanish at college, she decided not to continue with this subject because she would never understand how a pencil could be masculine and a pen feminine if both objects were for writing and had more or less the same elongated shape. Good reasoning, but as I always tell my students, languages are not an exact science where two plus two equals four.