President Biden and President Emmanuel Macron of France stressed on Saturday how much they agree with each other about world affairs, including the war in Ukraine, even as their countries have expressed sharply different views of the fighting in Gaza between Israel and Hamas.

Appearing briefly together before reporters after two days of D-Day remembrances, the two presidents declined to take any questions and papered over their stark differences about the Middle East. Instead, they both asserted the enduring strength of the American-French partnership on climate, the economy, European security and cultural ties.

“Today, I proudly stand with France to support freedom and democracy around the world,” Mr. Biden said, as the two men emerged from a closed-door meeting at the Élysée Palace.

“We see eye to eye on this war raging in Ukraine,” Mr. Macron noted, and he added that he hoped “all members of the G7 will agree to a $50 billion solidarity fund for Ukraine,” referring to the Group of 7 industrialized nations.

The French president’s comments suggested that the two leaders had reached common ground over a plan to leverage proceeds from frozen Russian assets to provide an upfront loan of up to $50 billion to Ukraine. American officials had said heading into the meeting that France was the main holdout for such a plan and that they were hoping to win support during the Paris visit.

On Gaza, Mr. Macron noted his government’s support for an Israeli cease-fire proposal that Mr. Biden has strongly backed. But the French president also directly challenged Israel to do more to deliver aid to Palestinians suffering from the government’s bombardment.

“It is not acceptable that Israel should not open all checkpoints to humanitarian aid, as requested by the united international community for months,” Mr. Macron said. He said Israeli operations in Gaza “should stop.”

France has supported the International Criminal Court’s decision to seek warrants for the Israeli prime minister, Benjamin Netanyahu, and Yahya Sinwar, the leader of Hamas in Gaza. By contrast, Mr. Biden has condemned that effort, calling it an unconscionable comparison of the two leaders. France also voted in the United Nations in May to include Palestine as a full member of the organization, something the United States opposes.

Neither Mr. Biden nor Mr. Macron mentioned any of the disagreements about the Israel-Hamas conflict.

In a departure from the usual practice when American presidents meet with foreign leaders, reporters from France and the United States were not allowed to ask questions after the Saturday statements, which lasted a combined 16 minutes. In most cases, the two leaders allow reporters from each country to ask at least two questions.

John Kirby, a national security spokesman for the White House, declined to explain why that was not the case on Saturday.

“This was the arrangement that was made,” he told reporters earlier in the week. “As you know, with any bilateral meeting or, in this case, a state visit, all of that is hashed out between the two sides. And it was decided in our discussions and our planning for this visit that that’s what they would do: that they would come out and make statements to the press.”

Mr. Macron’s warm embrace of Mr. Biden despite the tensions in the relationship stood in sharp contrast to the mood when President Donald J. Trump visited in November 2018. Just minutes before Air Force One landed in Paris then, Mr. Trump posted a message online accusing Mr. Macron of being “very insulting.” Mr. Macron then gave a speech assailing nationalism just weeks after Mr. Trump declared himself an American nationalist.

On Saturday, by contrast, Mr. Macron praised Mr. Biden as “a partner who respects Europeans,” a line that sounded like a distinction from Mr. Trump, who often denigrated European leaders. “Thank you for being at Europe’s side,” Mr. Macron said.

“You’ve become a good friend,” Mr. Biden said in response.

world