A postdoc is expected to know what they are doing, and to be productive researchers with minimal supervision. PhD students are learning how to be researchers: by the end of the process, they should be on par with a postdoc, but it will take time to get there
Edit: This comment has been copied from Barbara Robson's answer here.