Two separate incidents this week have placed federal immigration enforcement officers at the center of controversy after they were forced to defend themselves against individuals who allegedly used vehicles as weapons.

The first incident occurred in Minneapolis, where an anti-ICE activist was shot and killed after reportedly using her vehicle to block Immigration and Customs Enforcement agents and then ramming her vehicle into an ICE officer when ordered to stop. The shooting has been characterized by federal authorities as justified self-defense.

The second incident unfolded Thursday in Portland, Oregon, where a member of the Venezuelan gang Tren de Aragua and his female companion were shot after allegedly attempting to run down Customs and Border Protection officers during a targeted vehicle stop.

According to Department of Homeland Security Secretary Kristi Noem, Border Patrol agents initiated the Portland stop at 2:19 Pacific Time. The passenger in the vehicle was identified as a Venezuelan illegal alien affiliated with the Tren de Aragua prostitution ring and involved in a recent shooting in Portland. The driver is believed to be a member of the same Venezuelan criminal organization.

When agents identified themselves to the vehicle occupants, the driver allegedly weaponized his vehicle and attempted to run over the law enforcement officers. An agent, fearing for his life and safety, fired a defensive shot. The driver then fled the scene with the passenger. Both individuals are reported to be alive and receiving medical treatment. It remains unclear whether any agents sustained injuries.

The incidents have sparked sharp divisions between federal authorities and local officials in both cities. Portland Mayor Keith Wilson issued a statement Thursday that placed blame on federal immigration enforcement, stating that the Minneapolis shooting was “entirely preventable” and represented “the direct consequence” of ignoring his warnings to Homeland Security leadership.

Mayor Wilson expressed solidarity with Minneapolis Mayor Jacob Frey and Minnesota Governor Tim Walz, declaring that “Portland stands with you, Minnesota.”

The facts of both cases, however, suggest a different narrative. In each instance, federal officers conducting lawful operations were allegedly confronted with individuals who not only refused to comply with law enforcement directives but actively used their vehicles as weapons against the officers.

The question now facing these communities is whether local leadership bears some responsibility for creating an environment where defying federal law enforcement is viewed as acceptable or even commendable. When municipal officials consistently send messages that suggest cooperation with immigration authorities is optional, they may inadvertently encourage the very confrontations that lead to tragic outcomes.

Both Portland and Minneapolis have long histories of resistance to federal immigration enforcement, with local policies often designed to limit cooperation between city agencies and ICE or Border Patrol. While such policies reflect local political preferences, they may also contribute to an atmosphere where some individuals believe they can disregard lawful orders from federal officers with impunity.

The situation in Portland continues to develop, with additional information expected from federal authorities as the investigation proceeds.

Related: House Republicans Break Ranks to Support Extension of Affordable Care Act Tax Credits