Why do game developers make cheat codes in games?

Cheats still exist because the reason for cheats still exist. Cheat codes exist in order for the developers to test their own stuff quickly and efficiently . Imagine that you're a gameplay programmer, and you're working on the combat system.