The thing is, it's not the same legislature in the sense that the US has had an election since then and a different party has a majority in the House of Representatives than the one which passed the budget with all the spending. The real question which I think the media is ignoring is why they didn't raise the debt ceiling enough to fund that spending for at least a year or two when they still had power. The cynical answer to that is probably that it was an election tactic: they wanted to convince people to vote for them using the threat that the Republicans wouldn't come to a deal on the debt ceiling and would wreck the government.