Weird rejection

I just uploaded my first item on Codecanyon and honestly I did not have very big expectations. After 6 days, my item was reviewed saying that it was nearly there, but I only have to change the category from plugins to javascript. If you want to do that you have to reupload the whole item again because you can’t do this in the resubmission panel, so I did. Then, after a couple of hours I got an email saying that my item was rejected because ’ it isn’t at the quality standard required to move forward’ and that I couldn’t re-submit it.

What I do not understand is why I didn’t get a hard rejection in the first place. The initial response, that I was ‘nearly there’, was really misleading given the final result.