A similar question recently spurred some interesting discussion of “why” questions
https://forum.inaturalist.org/t/why-do-crane-flies-have-such-long-legs/24449
An analogy might be that there are many ways to make your bed…but we tend to do it the way our mothers taught us (inheritance). No one way is necessarily better than another, and it could simply be a matter of chance along life’s evolutionary path that led to one way or another of obtaining prey.