Substitute "rapport" (relation marked by harmony, conformity, accord, or affinity - Merriam-Webster) in each case, and I think you might have your answer.