Case 1 happens to me when I don't completely understand the problem so I don't know where to start. This leads me to procrastinate. I lack a sense of direction in those cases.
I'll agree, but also add that taking the time to understand the problem is half of the work. If someone just said 'type this in' and gave you the code already formed, it would take a fraction of the time