This is called an evolutionary arms race and tends to keep the populations of both species in equilibrium.
What term is used for predators and prey being well suited to hunt and evade each other?
evolutionary arms race