In Portuguese, the word for "circle" is "círculo," which is masculine. However, in French, the term "cercle" (meaning "circle") is feminine. Similarly, in German, "Kreis" (also translating to "circle") is feminine.
What factors determine the gender assignment to abstract words like "circle" in different languages?