Semitic Etymological Database
Reconstruction
Probably a generalization from “old, worn out cloth” to “cloth” in general.