The only free and comprehensive online etymological dictionary of the Spanish language
arma (Noun) "weapon"

12th cent. From Latin arma "weapons." From Proto-Italic *armo- "weapons," earlier probably "tools" or "that which is joined together." Originally an adjective reinterpreted as a noun, from Proto-Indo-European *h2r̥-mo- "fitting." From *h2er- "to join."

Also the origin of the surname Armas.

Romance: Western Vulgar Latin: Aragonese arma, Asturian arma, Portuguese arma, Galician arma, Catalan arma, French arme, Italian arma, Dalmatian jarma; Eastern Vulgar Latin: Aromanian armã, Romanian armă; Sardinian àrma

Indo-European: Hellenic: Ancient Greek ἅρμα (árma) "chariot," ἀραρίσκω (ararísko) "to fit," Mycenaean a-ra-ro-wo-a "fitted," a-mo "wheel;" Armenian: y-armar "fitting," aṙnem "to make;" Indo-Iranian: Sanskrit r̥tá- "truthful," "oath," ará- "wheel spoke," Old Avestan arə̄m "fitting

Originally a neuter plural in Latin. In Vulgar Latin, neuter plural words were reanalyzed as feminine singulars (as was the case in Spanish hoja). The change from neuter to feminine must have occurred early in Latin and not after, as the word is feminine even in languages that preserve the neuter case (Asturian, Romanian, etc...).