As they are dragging him to be lynched, he knocks over the music box, hears it play and claims it for his own.
As they are dragging him to be lynched, Running Wolf knocks over Marty's music box. He hears it play, and claims it as his own.