The film is Broken Arrow (1950), directed by Delmer Daves, starring James Stewart as Tom Jeffords and Jeff Chandler as Apache chief Cochise.
In a striking cultural juxtaposition, Chandler's Cochise sits at an upright piano in a rough Western saloon and plays Beethoven's "Moonlight Sonata" (Piano Sonata No. 14 in C-sharp minor, Op. 27 No. 2). The moment underscores the character's nobility, intelligence, and the film's theme of cross-cultural understanding—rare for 1950s Westerns.