Centrality-dependent modification of hadron and jet production in electron-nucleus collisions