So, how did this tradition start? Well, it's believed to have originated in the 17th century, when ships would fly their flags at half mast to indicate that they were mourning the loss of a crew member. It was a way of signaling to other ships that something was amiss, and that they should be prepared to offer assistance. Over time, the tradition made its way to land, and now we see flags flying at half mast all over the world.
Why are flags at half-mast today? | The US Sun
It's kind of like how we use emojis to show how we're feeling - 😊 or 😔, for example. The flag is like a giant emoji that can be seen from far away, and it's a powerful symbol of respect and solidarity. And just like how we might use a specific emoji to show we're feeling a certain way, the flag is used to show that we're feeling a certain way too - somber, respectful, and united.