The move modifier codes from Action Replay for Pokémon Diamond freeze the game because they are incompatible with the game's code structure. They attempt to modify data in ways the game engine isn't designed to handle, causing crashes or freezes. Additionally, these codes can corrupt your save file, potentially making the game unplayable.