Inherited from Latin clāvus with /aw/ > /ɔ/ and then insertion of an epenthetic /d/ (possibly chosen by analogy with chiudere).
Practice speaking and memorizing "chiodo" and many other words and sentences in Italian.