Clint Eastwood's rugged baritone is iconic, but he did not sing "You Talk to the Trees." The song comes from the 1968 musical western Paint Your Wagon, and it's performed by Lee Marvin as his character, Ben Rumson.
Marvin's Rumson, a gruff, hard-drinking prospector, sings the ballad to a stand of pine trees—confiding his loneliness and longing for female companionship in the male-dominated mining camp. It's a deliberately off-key, character-driven performance that became oddly endearing and memorable.
Eastwood does sing in the film—"I Talk to the Trees" is Marvin's solo. Eastwood performs "I Still See Elisa" and joins Marvin for the duet "All for Him." Both actors famously did their own singing, to mixed critical reception, but Marvin's tree confessional remains the standout musical moment.