There are trams running between Terminal C, which is a separate building, and Terminals A/B which are actually together in one building.
Since you can get an Uber from either, I would suggest whoever lands first takes the tram to meet the person landing second… maybe by where the rideshares pick up, which will be marked in both Terminals. Then call for your Uber.