The Gold Star symbol began during World War I. At the start of the American involvement in 1917, families hung banners with blue stars representing family members in the services. If the service member died in combat, the family changed the blue star to gold.
— U.S. Department of Defense