Enemies have no collision with spikes
Unlike with player characters, spikes are treated as non-solid entities to enemies and they can go through spikes unless you surround the sectors containing spikes with linedefs that make the enemies unable to move over them.
The NPC Amy is also able to phase through spikes with no issue.