Couple things here:
First, ecosystems don't work on this concept of "balance" or "problems to fix". There are ecological niches that are exploited by a species or not. We have both generalists and specialists, predators that will eat anything and predators that have specialized in a particular prey or hunting approach. The world is full of organisms with remarkably complex behaviors, the field of evolutionary biology would collapse if this sort of behavior disproved it.
Second, there's really nothing hand-wavy about how specialized behaviors evolve, and in fact there is a mountain of research in the fields of evolutionary biology and behavioral ecology that have significant explanatory power here. I would argue that you're the one being hand-wavy saying "I don't think a simple gradient descent...". Evolution is not a simple gradient descent, and no evolutionary biologist would ever argue that it is.