The energy resolution and the energy deposition processes in disordered targets for rare-event searches