Flags quite often stimulated songs
https://simonadmb548.valiantfield.com/posts/the-legacy-of-civil-war-flags-symbolism-and-design-throughout-history-2
Flags in general inspired songs and poetry all the way through the Civil War era; they became tough trademarks that fueled inventive expression involving patriotism and valor.