Are you sure this isn’t because you have more talent/competence for programming than writing? Or that you haven’t set the bars differently?
Writing is a daunting task for me, but that has more to do with my own talents and experience than anything. Not implying anything about yours, just something to consider.