Why are the words 戒 and 戎 written similarly?
The characters resemble each other because 「戒」 was subject to a slight amount of structural shuffling and the original lower-left component of 「戎」 is of a simple shape, so most people won't recognise what it actually is.

As far as I can recall, the only other place that the lower-left component of 「戎」 occurs in is the top of 「古」.

「戒」 and 「戎」 aren't the same character, they don't descend from the same character, and the morphemes they represent aren't related (except in the sense of semantics - both are pictographs containing 「戈」, dagger-axe).
It follows that they sound completely different, whether as individual characters or as part of a phonetic hint function in other characters.

商甲乙657合集7060西周金戒叔尊集成5856秦簡為33睡虎地秦簡今楷　
「戒」 depicts two hands 「廾」 holding up a dagger-axe 「戈」, indicating the meaning to warn/caution. 「廾」 later migrated to the lower-left of the character and no longer appears to be holding up the weapon anymore; the structural analogy to the original form is 「」.

商甲拾9.12合集6890西周金班簋集成4341今楷　
「戎」 depicts a dagger-axe 「戈」 together with a shield, indicating the meaning armaments.

Shield is now written as 「盾」. The original character doesn't exist individually anymore, but remains as the top component of 「古」 (solid, sturdy, now written as 「固」).
商甲林2.24.6合集16347西周金秉毌父乙爵集成8871
This character was later replaced by the new character 「盾」, which depicts a side view of the shield with an eye looking straight 「直」 peering from underneath the cover of the shield.
西周金五年師簋集成4216秦簡效3睡虎地秦簡今楷　


As for 「賊」, it doesn't actually contain 「戎」. 「賊」 (Baxter-Sagart OC: /*k.dzˤək/, to ruin/damage/destroy) is comprised of semantic 「戈」 (dagger-axe) and phonetic 「則」 (/*[ts]ˤək/). The 「刂」 part was later corrupted into a 「」 shape, causing the right hand side of 「賊」 to be misinterpreted as 「戎」.
西周金散氏盤集成10176秦簡法76睡虎地秦簡東漢隸韓勑碑陰　今楷