Flags most likely motivated songs
https://zionscfs876.pinehavenscope.com/posts/the-evolution-of-civil-war-flags-from-battlefield-to-display-case-3
Flags routinely inspired songs and poetry throughout the Civil War duration; they turned into powerful emblems that fueled inventive expression regarding patriotism and valor.