President Trump and Sen. John McCain were members of the same party, but their relationship was tense.