At a broad level, one mechanism that's fairly well documented is selecting more for gliding-oriented versus flapping-oriented wing and muscle structure, which may coevolve with behavior and habitat. I do agree that there are a lot of evolutionary explanations that are more like "it's plausible that it'd be this" than actually proven, though.