Carole King wrote You've got a Friend for James Taylor. According to Taylor, Carole King told him that this song was a response to his 1970 hit "Fire and Rain," where Taylor sings, "I've seen lonely times when I could not find a friend." King's musical response: "you've got a friend right here."
I didn't know that "You've Got a Friend" was in response to "Fire and Rain."; I never connected the two, although I can see it now. James Taylor has the kind of voice that calms, if that makes sense.