A housing shortage and rising consumer costs have made it harder for many older Americans to afford monthly expenses.