Directly from Middle Persian [script needed] (kač). Doublet of قَزّ (qazz), which was borrowed via Aramaic.
Practice speaking and memorizing "خز" and many other words and sentences in Arabic.