A lot of ancient writers didn't shy away from writing awful things about emperors. You could say that it was for propaganda purposes of their successors, but regardless of their motives, why wouldn't they write about their construction failures as well?