First the Democrats thought that Republicans didn't have the balls to shut off EBT. Then, they realized that Republicans DO have the balls, but they thought it wouldn't matter, because Trump would get blamed. Now that they realize that Trump ISN'T getting blamed, they're trying to sue for the Department of Agriculture emergency fund, so they can say "We tried, we did our best" (We are here).
What the Democrats HAVEN'T realized is, whether they win or lose the lawsuit, it's still not enough to keep the EBT coming, and they will still be the ones who are blamed. The OTHER thing they haven't realized is, if their pets chimp out hard enough, SNAP will be reformed so austerely that it will be more like the food stamp/commodity days of the 1950s - 1980s, and they will be blamed for that too, especially by the big food corporations that will be funding Republican campaigns rather than Democrat campaigns, because they'll be able to lobby Republicans to be more generous with food programs, instead of funding Democrats who will just fuck things up and lose again.
No matter what happens next, Dems have lost the fight. It's only a matter of how badly they've lost, depending on what happens over the next few weeks.