Declining inflation

Explain why you would rather be a borrower during a period of unexpected rising inflation and a lender during a period of unexpected declining inflation.