Debt and deficit fluctuations and the structure of bond markets