Carole King penned "You've Got a Friend" as a response to her friend's need for reassurance and companionship during challenging times.