Uncertain. Possibly from Semitic via Ancient Greek μάρρον (márrhon); compare Akkadian 𒄑𒈥 (marru [^(GEŠ)MAR]), Classical Syriac ܡܪܐ (marra), and Arabic مَرّ (marr).
Practice speaking and memorizing "marra" and many other words and sentences in Latin.