Democrats needed to work with Trump on a replacement for Obamacare, knowing full well that congress had not authorized federal funding for Obamacare.  When the democrats stonewalled the replacement, Trump stopped the federal funding.  The ball is in the court of the democrats.