Cf. Soq. ḥódir, Mhr. ḥəḏūr ‘to build a thatched pen’. Their further etymology is uncertain. If related to Arb. ḥḏr ‘to be cautious, on guard’, the original meaning would be ‘to make precautions (to prevent livestock from climbing the walls)’.
Jibbali
ḥfɔḏ̣ - to keep safe, to preserve, to look after
(JL 104)