As lawmakers take up a stripped-down two-year budget Thursday, plugging the funding gap is raising the question of how it came to be in the first place.