Masculine/feminine do not mean male/female. There are men with feminine traits that are still men. Hell, the 80's was all about men looking feminine with earrings and long hair, tight leather pants, and there are women that have masculine traits. this is all not new. Our founding fathers had feminine clothes, lacey neck things, poofy wigs, and face powders. This has nothing to do with whether a noun is male or female in Romance languages... languages based off of Latin, like French, Italian, Spanish, etc... Germanic languages have some, but not very many noun gender signifiers.
Freud breaks down why some things are male and some are female, and it is not because they look feminine or masculine, but because of how we use them. So stop being stupid. Despite what you may think of Freud, he was a genius at reviving lost knowledge that was no longer appropriate to talk about in school at the time. So, we forgot why we have male and female "words."
Ok, to make this simple, lets go to the hardware store. Bolts go into things in the way we use them. These are like a male penis going into a vagina. Bolts are male parts. Nuts have things go into them, like a vagina. These are female parts. When you go to the hardware store and buy parts for pipes, they are labeled male and female for the same reason. Stop being stupid.
A chair, you set "in". It is a female. A pencil violates the paper, it is a male and the paper is a female. Ships, you get inside of... Female. A pipe... you put tobacco inside the pipe to use it. It is a female. It has nothing to do with masculine or feminine traits. It is how it is used.
Some words get a little tricky, because the way we use them have changed over the years. Or, because of the way we use them in a sentence.
English speakers are the stupidest when we discuss this sort of thing. They get all caught up in... "it doesn't look feminine." This to me is funnier than the jokes they make, because the guys who want to make a pipe into a male thing are thusly putting dicks in their mouths.