In army contexts, flying flags function worthwhile symbols of honor and sacrifice
https://paxtoncekq011.juniperbrief.com/posts/tradition-under-the-banner-are-american-flag-rituals-preserved-in-schools-or-phased-out
In navy contexts, flying flags function important symbols of honor and sacrifice. They are raised at some stage in ceremonies to recollect fallen squaddies, reminding us of the fee paid for freedom and the values that unite countries.