A Delta Air Lines Airbus a320neo is parked at Seattle-Tacoma International Airport on Sunday, May 12, 2024 in Seattle, Washington. (Photo: Itoro N. Umontuen/The Atlanta Voice)

ATLANTA (AP) โ€” Delta Air Lines is changing its employee uniform policy following a turbulent ride through a social media storm started by an X userโ€™s outrage over two flight attendants who were photographed wearing Palestinian flag pins.

The uproar over the July 10 post on X, which described the Palestinian pins as โ€œHamas badges,โ€ led Delta to ban its employees from wearing pins representing any country or nationality besides the U.S. The rule will take effect Monday.

โ€œWe are proud of our diverse base of employees and customers and the foundation of our brand, which is to connect the world and provide a premium experience,โ€ the Atlanta-based airline said in a statement โ€œWe are taking this step to help ensure a safe, comfortable and welcoming environment for all.โ€

Deltaโ€™s policy shift reflects the ongoing tensions surrounding theย Israel-Hamas war,ย which has triggered high-profile protests that, among other things, have roiled college campuses.

Both attendants pictured wearing the pins were in compliance with Deltaโ€™s previous policy giving employees more flexibility with uniform accessories.

Before Delta announced its new policy, one of its employees escalated the situation by posting a reply on X asserting the attendants wearing the Palestinian pins were violating company rules and sympathizing with passengers who might be โ€œterrifiedโ€ by it. That post has since been deleted but was captured in a screenshot shared by the American Muslim rights group CAIR, the Council on American-Islamic Relations.

Delta apologized in a post and said the employee responsible for the reply had been removed from handling its social media communications.

โ€œWhat happened with Delta is just the latest example of anti-Palestinian racism,โ€ Edward Ahmed Mitchell, the national deputy executive director of CAIR, told The Washington Post. He said the group welcomed Deltaโ€™s apology. โ€œAnd my hope is that this incident will begin to slowly, slowly move the needle in a different direction.โ€