Donald Trump said Wednesday he isn't pleased with the $4.5 billion humanitarian aid allowance passed by the House because it doesn't allot any of the billions in funds for border protection.

Democratic House leadership was able to secure the money, but only after including strict limitations for what the money could be used for, including improving conditions for the migrants being held after illegally crossing the border.

'I'm not happy with it because there's no money for protection,' the president told Maria Bartiromo in an interview on Fox Business Wednesday morning. 'It's like we're running hospitals over there now!'

The bill ended up passing 230-195 on Tuesday, almost along party lines, and will seek to address the horrific situation migrants are facing when they illegally cross into the U.S., rather than block the flux of immigrants that continuously flow across the border.

President Donald Trump said he's 'not happy' with the $4.5 billion in humanitarian aid for the crisis at the border because it doesn't do anything for border security

The president is responding to a bill that was passed by the House on Tuesday, but was only able to make it through after Democratic leadership put strict limitations on what the money could be spent on

'It's like we're running hospitals over there now!' Trump lamented in a Fox Business interview

Democrats have long criticized Trump for his immigration policies, especially after reports of immigrants being held in cages and children getting separated from their parents began making headlines.

'People are coming up, what people don't understand is you have separation. Separation is a terrible thing, of the families,' Trump said, adding that former President Barack Obama was the one that created cells where migrants were being held.

'We've done much better job than Obama,' Trump touted to the Fox host. 'Obama built all those cells. Those cells were built by the Obama administration. ... He put in all the cages.'

Trump bashed Democrats for inaction on border security in a set of tweets Wednesday morning, claiming lawmakers on the left don't want anything making it harder for immigrants to get into the U.S. because they want 'open borders.'

The president says the reason there is such an influx in illegal immigration is due to the roaring economy – which he says migrants want to benefit from.

'Too bad the Dems in Congress won't do anything at all about Border Security. They want Open Borders, which means crime,' Trump posted to Twitter. 'But we are getting it done, including building the Wall! More people than ever before are coming because the USA Economy is so good, the best in history.'

President Donald Trump slammed Democrats for inaction on border security, adding they don't want to do anything because they want 'open borders'

Trump tweeted Wednesday morning that Democrats aren't doing anything to help the situation

He touted that there is such an influx in illegal immigration because the U.S. economy is doing well and he claims they want a part of it

Trump declared a national emergency earlier this year, claiming there was a humanitarian crisis at the southern border with illegal immigration, crime, human trafficking and drug smuggling.

'Democrats want Open Borders, which equals violent crime, drugs and human trafficking,' he reiterated in a tweet Wednesday morning. 'They also want very high taxes, like 90%. Republicans want what's good for America - the exact opposite!'

In his interview, Trump repeated the notion that immigration issues could be swiftly remedied if Democrats would agree to fix loopholes.

'If I had loopholes taken care of and asylum taken over, you'd have zero problem at border,' he said. '

'If the Democrats would get rid of the loopholes and would fix asylum, it would take an hour. We could sit there, we can make a deal. They refuse to do it,' Trump continued. 'Number one, they want open borders. They legitimately want open borders. They want those people that you see in caravans, many of whom are criminals, okay, just so you understand, many of whom are criminals.'

His comments come the same day 10 Democrats are set to take the stage in Miami Wednesday night for the first day of the first Democratic primary debates. Another 10 candidates will appear on the same stage Thursday night.

Several 2020 candidates already in Miami for the debates are making a stop at the Homestead Temporary Shelter for Unaccompanied Children in Homestead, Florida. The facility can accommodate up top 3,200 minor immigrants that either crossed illegally by themselves or were separated from their families.

Rep. Eric Swalwell visited the center on Monday, Massachusetts Sen. Elizabeth Warren made an impromptu announcement Tuesday night that she would be going Wednesday morning and former Texas Congressman Beto O'Rourke announced over the weekend he would go there Thursday morning.