There is much more useful information here in the comments than the question.
I have 6 total deleted questions.
6 deleted and 4 undeleted questions is a pretty bad ratio. A net score of +2 on the undeleted questions is fine, but not stellar. It's pretty hard not to get question-banned like this.
Yes: the algorithm is severe, not known to us in detail (by design), and seems to make some questionable choices. Worse yet, this approach doesn't - can't - deal with the bulk of the problem, because of the long tail of users who ask a single low-quality question and never try again.
However, for those who do intend to keep asking questions, it's important to understand that the purpose of the site is not to provide a place to get personalized help whenever you run into a problem. Questions here need to be able to contribute to a useful, searchable Q&A library.
Two were from when I had a coding problem only to later find out that the cause was an separate issue outside of the scope of the question.
I agree; such questions cannot be improved, and it is unreasonable for the algorithm to expect such a thing. However, we literally can't do anything about it.
The only advice I can give, therefore, is to avoid the problem in the future. Before trying to ask about a coding problem (I assume you mean that existing code did something wrong, rather than that you couldn't figure out how to do something) that you have a consistently reproducible setup for the problem that is properly captured in a minimal reproducible example.
Two were from when I realized I had described a problem poorly and deleted the question so that no one would waste time trying to answer a bad question while I re-typed it.
I agree; the system should not penalize someone for trying to fix the question this way. The worst thing that happens is that database space gets wasted on the deleted draft versions. Going forward, however: don't "re-type" the question as a new one. Instead, edit the question in place to describe the problem properly. It is not at all necessary to delete the question. If you happen to have done so, however, edit the question in place and then undelete it.
If you have deleted questions that were failed attempts at now existing undeleted questions, I would still do this, and let us know on Meta that you're doing it. We can then just close those questions, after you have undeleted them, as duplicates of the properly asked one. After some time, those may get automatically deleted by the Community user. I am pretty sure that this is a net positive for your question-ban outlook. If not, I am that much more annoyed with the software. But that's all I can offer you.
Two were deleted automatically because they got -2 points and no answer, but I thought they were well-explained questions and no one ever said why they downvoted it.
I agree; the system overall is dysfunctional. This time there is a social problem as well as a technical one.
Explanations for downvotes are not expected, and commonly not offered because people have become accustomed to retaliation. The site ought to be able to offer pro-forma objections to questions that allow filling in specific reasoning (e.g. voting to close something as unclear automatically accompanied by a statement of what that person found unclear); but everyone is left to their own devices (and preferences/habits) here.
Questions that were downvoted were certainly not ignored, so this didn't come about because of asking in an unpopular tag. If there weren't any actual close votes on the question, there probably should have been; practically everything that merits a negative question score can't be expected to meet the site standards, either. But sometimes the people who see the question aren't the ones with the reputation needed to cast close votes, and sometimes moderator flags to close something don't get accepted.
Beyond that, I can't really advise without seeing the actual questions.