Every item is reviewed by a person before it goes live. Rejection is normal, most published items here were rejected at least once, and there is no penalty for resubmitting. But you can skip the round trip.
1. Rights to sell it
The most serious one, and the only one you cannot fix by editing. The work has to be yours, or licensed in a way that permits resale. A theme built on a component library whose licence forbids redistribution does not become sellable by being repackaged.
Check the licence on every dependency you ship inside the zip. Linking to a package is different from bundling it.
2. Security
Reviewers look for injection holes, unvalidated file uploads, secrets committed into the files, and unsafe defaults. The single most common find is an API key or a database password left in a config file from your own machine.
Grep your zip for your own credentials before you submit. Every time.
3. The page does not match the zip
Screenshots showing features that are not in the download, a description listing something planned rather than built, a demo running a newer version. Reviewers check the claims against the code, and so do buyers, later, in the comments.
4. Incomplete
Missing installation instructions, a missing file, a placeholder nobody replaced, a database schema that is not included. Usually not carelessness, just something already present on the developer's machine that never made it into the zip.
The fix is one step: install your own zip on a clean environment, following your own instructions. Not your dev machine. Something empty. This catches more rejections than anything else you can do.
5. Code quality
It does not have to be beautiful. It has to be something another developer can install, read and maintain. What gets flagged is the unreadable extreme: no structure, everything in one file, obfuscated sections, dead code left in.
If you disagree
Reply to the review and explain. If a reviewer flagged something deliberate as a bug, say why it is deliberate and be specific. Reviewers do change their minds.
More detail in the help centre article on rejections.