Former South Carolina congressman Trey Gowdy said Tuesday that some politicians want to benefit politically from having the issue of border security, rather than finding a solution for it.

The government is at risk of closing again following the previous 35-day shutdown, and a bipartisan committee has a Feb. 15 deadline to work out a border security solution.

"Part of the issue is politically, some folks benefit not from the solution but from having the issue," said Gowdy, a Fox News contributor.

Fox News' Griff Jenkins reported earlier Tuesday that Mexican police increased their presence along the border near Texas.

Officers in riot gear were seen outside of the shelter where more than 2,000 migrants were being held in the city of Piedras Negras.

On the subject of Tuesday night's State of the Union address, Gowdy said that Trump shouldn't "take the bait" by reacting to some of the guests invited by Democrats.

Obama's Border Patrol Chief: Pelosi Calling Wall Immoral 'Is Just Not Reality'

Rep. Alexandria Ocasio-Cortez (N.Y.) invited the activist who shouted down former Arizona Sen. Jeff Flake over his support of Brett Kavanaugh.

New Jersey Rep. Bonnie Watson Coleman's guest will be an undocumented immigrant who was fired from Trump National Golf Club, and Oregon Sen. Jeff Merkley has invited a Guatemalan mother and daughter who separated for two months after being denied asylum in the United States.

Meantime, at least four Democrats have said they will boycott the speech. Gowdy implored the president not to pay attention to the Democrats who will never join him in supporting a border wall. 

"There's not a single person on the floor of the House that hasn't already made up his or her mind about any issue that comes up tonight. Your audience is the American people," Gowdy said. "You're gonna stand where less than 50 people have ever stood in our country's history. ... Ignore the people who want to drive up their Twitter followers."

Watch more above.

WATCH: Sara Carter Asks Virginians About Ralph Northam Photo Controversy

EXCLUSIVE: CA Firefighter Reflects on Being Part of Trump's First SOTU

'I've Never Had Anything Go Viral': Perino, Gutfeld Take on Dana's Super Bowl Queso