Flags most likely stimulated songs
https://jeffreypmty481.lakeviewbrief.com/posts/the-legacy-of-civil-war-flags-symbolism-and-design-throughout-history-4
Flags mostly encouraged songs and poetry at some point of the Civil War duration; they grew to become strong emblems that fueled creative expression involving patriotism and valor.