Remember too that that very large Bush budget was inflated by Obama. Neither House had passed a budget yet under Bush, so when democrats won, they threw everything into the budget bill - including the stimulus - and passed it. They knew it would be credited to Bush and it would establish a high artificial baseline off of which the new administration would be able to claim to have “cut” the deficit.
Barry Obama threw a temper tantrum in November of 2008 and demanded that Bush sign the Democrat bailout bill.