From Classical Arabic قَزّ (qazz, “silk, silkware”); see there for more. Doublet of quej and ques (“a sort of wool”), a direct borrowing from it.
Write this word
Practice speaking and memorizing "gasa" and many other words and sentences in Spanish.