The US can choose to fight the battles in either order, but it won’t matter. Defending planes that lose the carrier holding them in combat get 1 movement to land after the Combat phase is done, so at that point it would already be determined if they had a friendly place to land regardless of the battle order. The landing is done after the whole combat phase to avoid confusion of planes getting to defend twice, which they don’t.