WASHINGTON, Aug. 27 (CGTN) -- The White House lowered its US flag to half-staff, raised it back up and on Monday lowered it again after the death of Senator John McCain, in an unusual and confusing break with protocol on the passing of a national leader.

McCain, a prisoner of war in Vietnam, longtime US senator from Arizona and 2008 Republican presidential nominee, died of brain cancer on Saturday at age 81. That prompted many Americans to lower flags to half-staff, a traditional gesture of honor.

But President Donald Trump, who had clashed with fellow Republican McCain over various issues and said during his campaign that the senator was “not a war hero,” wavered in his approach to what presidents normally treat as a gesture of courtesy and respect.

Trump’s White House lowered its flag on Saturday, then raised it back following the minimum period under the law. Trump also delayed issuing the customary proclamation for flags to remain at half-staff for longer than the two-day minimum.

Finally, under pressure from veterans and members of Congress, Trump said in a statement later on Monday that he respected McCain’s service to the nation and had ordered flags to half-staff.

In a letter to Trump on its Facebook page, the American Legion veterans group had urged the White House “to follow long-established protocol following the death of prominent government officials.” The Legion described McCain as a “cherished member.”

After a day of ignoring shouted questions about McCain, Trump broke his silence during a gathering of evangelical leaders at the White House on Monday evening.

“Our hearts and prayers are going to the family of Senator John McCain ... and we very much appreciate everything Senator McCain has done for our country,” he told the religious leaders.

Through most of Monday, confusion reigned across the federal government, with flags flying at half-staff over the US Capitol and at hundreds of national parks, but at full-staff over the Pentagon and the US Supreme Court.

The US Department of Homeland Security had issued a government-wide notification after McCain’s death to lower flags at US facilities but rescinded it on Monday, leaving the decision to staff at individual sites, according to an official.

'Somewhat shocking'

Presidents normally follow Congress’ lead on the death of a prominent lawmaker and order flags lowered until sunset on the day of burial. Critics of the president saw his reticence as a final slight against McCain.

"I doubt you could find a comparable situation where the president doesn’t order the flag flown at half-mast until the funeral," said John Lawrence, history professor at the University of California’s Washington Center.

"The disparity between the Congress and White House policy is obviously noticeable and somewhat shocking."

McCain was a frequent Trump critic, and his family has said he did not want the president to attend his funeral.

A family spokesman issued a farewell statement from McCain in which he said of the United States: "We weaken our greatness when we confuse our patriotism with tribal rivalries ... We weaken it when we hide behind walls, rather than tear them down, when we doubt the power of our ideals, rather than trust them to be the great force for change they have always been."