The Confederate Navy adopted certain flags to suggest its ships' allegiance
https://griffinxggr953.juniperbrief.com/posts/the-legacy-of-civil-war-flags-symbolism-and-design-throughout-history
The Confederate Navy followed exclusive flags to signify its ships' allegiance and intention; these designs had been the most important for identification amidst chaotic naval engagements.