White House Deputy Press Secretary Hogan Gidley blasted Democrats on Monday for their lack of cooperation in fixing the issue of separating migrant families at the border.

Gidley argued Monday on "Fox & Friends" that the law in place calls for the parents to be deported but the child to stay in a border shelter.

He called the situation at the border a "crisis" and stressed that while Trump does not like the conditions reported at some detention centers, the law needs to be enforced.

"This is all the Democrats' doing," he said, saying that the media's message that the Trump administration created the problem is false.

California Elementary School to Be Named After Illegal Immigrant

He said border agents are facing a "false choice" due to the current laws: release the families into the United States or separate them while the law is enforced.

Gidley also disputed an assertion made by Harvard Law School professor Alan Dershowitz that President Trump can stop the families from being separated.

"I heard Alan Dershowitz say you could send them back together as a family unit. You can't. The law doesn't say that," said Gidley.

Dershowitz had said regardless of the state of the facilities where detained children are living, the act of separating children and parents cannot continue.

Gidley added that Democrats believe illegal immigrants should be released from detention "without any ramification."

He also asked Democrats where their outcry was for the "permanent separation" American families endure when a loved one is killed by an illegal immigrant.

"The permanent separation is the biggest abomination," he said.

Why don’t the Democrats give us the votes to fix the world’s worst immigration laws? Where is the outcry for the killings and crime being caused by gangs and thugs, including MS-13, coming into our country illegally? — Donald J. Trump (@realDonaldTrump) June 18, 2018

Attorney General Jeff Sessions recently directed border and immigration authorities to implement a zero-tolerance policy for prosecuting individuals who enter the U.S. illegally.

Gidley said that building a border wall will help mitigate the issue of family separation because it will force families to go through points of entry.

"It's a safer, much better situation for them, no question," he said.

.@hogangidley45: “There are only one of two things that can happen when they come here: you have to either release them into the interior of the United States as a family unit, or you have to separate the families. That’s what the law says.” pic.twitter.com/hYRrB5iLEg — Fox News (@FoxNews) June 18, 2018

He also said that President Trump is backing two House immigration plans that would include protections for DACA recipients.

"It's a dangerous situation for this country, and it's all on the backs of the Democrats," Gidley said.

Watch the interview above.

Immigration Expert: Border Shelters Are a 'Big Step Up' for Most Migrants

'Where Is the Passion for American Citizens?': Tomi Lahren, Dem Radio Host Clash Over Immigration Policy

'An Insult Below the Belt': Herman Cain Slams FBI Staffer Who Called Trump Voters 'Lazy'