I think David arrives luckily at the same time as that scorpion ship, they gather for some reason and David catches his opportunity.
And we will be left with the question, why did they gather and who was piloting that craft and what was its reason for hanging there vertically.