Sure, Donald Trump and Congress are to blame. Trump will probably get more blame than Congress, but historians will have to sort that one out.
But ultimately it us, the American people, who are responsible for the government shutdown. Why? Because we empower these people. We vote them into office. We tolerate all the garbage and partisanship. We have nothing to complain about.