WATCH: Did this 'Fox & Friends' segment manipulate Trump into threatening a government shutdown?
Fox News 'Fox & Friends' hosts Steve Doocy, Ainsley Earhardt and Brian Kilmeade (screen grab)

President Donald Trump strangely threatened to veto a bipartisan spending bill on Twitter Friday morning -- just one day after his own White House said that he would sign it.

Although there's no way to say for certain what convinced Trump to veto the bill -- which would result in the government at least temporarily shutting down -- Media Matters senior fellow Matthew Gertz is floating a theory that a Friday morning "Fox & Friends" segment might be to blame.

During the segment, Fox News contributor Pete Hegseth attacked the bipartisan budget bill as too friendly to Democratic priorities while not spending enough on projects wanted by Trump and his supporters.

"This is a swamp budget," he said. "This is a Mitch McConnell special."

Hegseth and Fox host Steve Doocy noted that while the White House did score wins on additional funding for the military and Immigration and Customs Enforcement, it did nothing about Trump's biggest campaign promise: A wall built along the U.S.-Mexico border.

"There's no wall," fumed Hegseth, who also bemoaned the lack of action on protecting the so-called "Dreamers," undocumented immigrants who were brought into the United States as children. "Ultimately, the Democrats controlled this process."

Trump's tweet threatening to veto the deal mentioned both the lack of funding for the wall and no solution helping the Dreamers.

"I am considering a VETO of the Omnibus Spending Bill based on the fact that the 800,000 plus DACA recipients have been totally abandoned by the Democrats (not even mentioned in Bill) and the BORDER WALL, which is desperately needed for our National Defense, is not fully funded," the president wrote.

Watch the "Fox & Friends" segment below.