Semitic Etymological Database
Probably an early Arabism, cf. Arb. wqˁ ‘to fall; to take place, to happen’.