Usually, that is how it works and how it should work. The Democrats have been so butthurt about losing 2016 that they have behaved as the pedantic children they accuse Trump of being - and certainly his behavior somewht justifies. When he agreed to the temporary opening of the government, the Dems took a premature victory lap. Did they, especially Pelosi, really think that this president was just goingnto lay down and take it? That's not what he was hired for. He does not serve at the pleasure of Congress.
But now we are in horrible situation. This seems to be a crisis of control. We seem to be being given a choice between the dominance of a mercurial and oft times tyrranical president or the anarchy and impotence of a divided Congress. With the former, sure the trains run on time, but you're not allowed to go anywhere. With the latter, you're free to go wherever you want, but there's no escape.