More than a dozen of the 103 House Democrats who voted this week to eliminate U.S. aid to Israel had been endorsed by the powerful pro-Israel lobbying group AIPAC, which quickly moved to withhold online donations from the 15 of them who are seeking re-election.

The group also punished four other Democrats who are not facing re-election by removing language from its website that had thanked them for their pro-Israel voting records.

Many Democratic lawmakers were torn about the vote on an amendment, sponsored by a Republican critic of foreign assistance, that would have stripped $3.3 billion in military and humanitarian aid to Israel. But 103 Democrats voted yes, signaling a rebuke of Israel as many Democratic voters have expressed outrage over the war in Gaza. The proposal was defeated with all but one Republican and 98 Democrats in opposition.

AIPAC chastised those voting in favor. And by Friday, it had removed donation links on an online political portal from the profiles of the 15 Democrats whom it had endorsed for re-election who backed cutting off aid.

Four other Democrats who supported the amendment but are not running for re-election — Representative Nancy Pelosi of California, the former speaker, and Representatives Julia Brownley of California, Robin Kelly of Illinois and Julie Johnson of Texas — had their profiles altered to remove language that had thanked them for their “support of the U.S.-Israel relationship.”

Here’s a look at Democrats AIPAC punished.

Nancy PelosiCalifornia, 11th District

Ms. Pelosi, the former speaker, has supported Israel and a two-state solution to the conflict with Palestinians in her 20 terms in office. U.S. support for Israel has played a role in the race to succeed her.

In a statement, she called the vote to end Israel aid “ill-conceived” and an “unfortunate choice,” but said she voted yes “for the message that it sends.”

Katherine M. ClarkMassachusetts, Fifth District

Ms. Clark is the No. 2 House Democrat. Despite reservations, she said in a statement that she voted to halt Israel aid because “we should not provide a blank check for military aid to any country that does not comply with U.S. law, interests, and values.”

Gabe AmoRhode Island, First District

Mr. Amo said in a statement that it was “impossible to defend the status quo” on Israel aid and that a “blank check to Netanyahu has allowed a dangerous course that undermines the prospect of peace.”

Jake AuchinclossMassachusetts, Fourth District

Mr. Auchincloss said on social media that his vote served to criticize President Trump and Israeli Prime Minister Benjamin Netanyahu for their war against Iran and for empowering settler violence in the occupied West Bank.

Laura FriedmanCalifornia, 30th District

Ms. Friedman is a first-term lawmaker who cosponsored the United States-Israel Defense Partnership Act last year.

Maggie GoodlanderNew Hampshire, Second District

Ms. Goodlander said “our alliance with Israel requires a reset” because of Israel’s conduct in Gaza and settler violence in the West Bank.

Josh HarderCalifornia, Ninth District

Mr. Harder cosponsored a resolution supporting Israel in the immediate aftermath of Hamas’s Oct. 7, 2023 attack, but later on began pushing the Biden administration for a cease-fire.

Steven HorsfordNevada, Fourth District

Mr. Horsford said in a statement that he voted to halt aid to Israel because “Congress has a duty to ensure that assistance to every partner — including Israel — is consistent with American law, our national security interests, and our humanitarian values.”

Glenn F. IveyMaryland, Fourth District

Mr. Ivey said in a statement that he voted to block Israel aid because it should no longer be considered “automatic” and that the U.S.-Israel relationship “must be reset around accountability, defensive cooperation, respect for international law and a credible path to two states.”

William KeatingMassachusetts, Ninth District

Mr. Keating lent his support to Israel following Hamas’s Oct. 7 attack, and in 2024 he voted for the Israel Security Supplemental Appropriations Act.

Seth MagazinerRhode Island, Second District

Mr. Magaziner said on social media that “U.S. security assistance can no longer serve as a blank check for actions that make Israelis, Palestinians, and the region as a whole less safe.” He took a similar position last year when he cosponsored a bill to stop the transfer some offensive weapons to Israel.

Richard E. NealMassachusetts, First District

Mr. Neal said in a statement that “governments receiving our aid meet the standard our values and laws require.” He added, “What we are seeing in the Middle East is not sustainable and demands a new path grounded in peace, security, and the right to self-determination for all.”

Joe NeguseColorado, Second District

Mr. Neguse said in a joint statement with Brittany Pettersen and other Colorado Democrats that the United States “should not be giving military aid to any country that does not comply with our own laws and values.” He added, “The Netanyahu government has failed to meet these standards.”

Brittany PettersenColorado, Seventh District

In the joint statement, she said that “the status quo is not tenable” and added that “we need a different path forward for America’s foreign policy rooted in values and consistent application of the law.”

Pat RyanNew York, 18th District

Mr. Ryan said on social media that providing $3.3 billion in aid to Mr. Netanyahu’s government is “wrong on every level.” He went on to say that “I expect groups like AIPAC will not support me in my future elections and frankly, I don’t want their support.”

Adam SmithWashington, Ninth District

Mr. Smith has criticized surging socialist candidates and rebuked protesters whom he said had vandalized his home over his stance on Israel. He said in a statement that his decision to block aid to Israel was a “very close vote” but added that he had become “incredibly frustrated” by Mr. Netanyahu and sought to “force them to change their actions” by blocking aid.

Annie Karni contributed reporting.