Q. In the concluding line of the 2nd stanza of the Yotzer for Shabbos Rosh Chodesh (by Rabbeinu Binyomin bar Zerach), it says:
Lo Nivreis Tas Zohov V’lo Or B’heimo V’Chayo
But aren’t Tas and Or masculine nouns? Shouldn’t it be “Lo Nivro” instead of “Lo Nivreis”?
This yotzer appears on the Roedelheim Siddur for Minhag Ashkenaz used throughout the Rhenish communities before the war. Now used in KAJ of Washington Heights, Monsey, and several communities of Yotz’ei Ashkenaz in Eretz Yisroel.

A. Horav Shlomo Miller Shlit’a quoted The words of the Even Ezrah (See Tosfos Yom Tov – Nozir 2: 2), that all non living items “Zochrehu o Nokbehu” it could be used in both genders.
See also Derech Sicha (p. 683) that answers similarly why the brocho on flowering trees mentions “Ilonos Tovos” when Ilan is masculine. See also Even Ezrah on Shir Hashirim (1: 3) as a possible source for this saying.

Rabbi A. Bartfeld as revised by Horav Shlomo Miller Shlit”a