Not sure how long this has been going on but those are telltale signs of depression.
yeah this is one of the more major symptoms
When you recognize the urge to quit doing something you wanted to do, force a lot of energy into overcoming that urge and try to do it anyway. It'll give you more motivation/energy to do more tasks and get you through the day.