Answer
Learned behaviors impact an animal's fitness within its environment and community, which can easily be selected for or against and thereby contribute to speciation.
Work Step by Step
There are a multitude of ways that learned behavior can contribute to speciation. The fact that a behavior is learned and not innate does not prevent it from having a profound generational impact, as any kind of behavior affects fitness and therefore natural selection.