The cost of basics like housing and food rose, while incomes and other resources, like public benefits, did not keep up.