Depression causes lack of motivation and will, which makes it harder to concentrate. Moreover it affects a person emotionally and drowns them with guilt, with such emotions at hand eventually it becomes impossible to focus and concentrate on things.