Because NASA had planned on the contingency of them joining the next expedition and returning with Crew-9. The astronauts trained for this possibility and NASA prepared for it. Even going as far as to include EVA suit components with the resupply before they arrived.