President Donald Trump failed to strike an agreement with congressional leaders to keep the government funded.