Failed production status

After the AT done, I have construct some new production. Unfortunately, the production operation has failed. So, I decided to re-submit the previous failed production. This re-submission status is successful. So, here I would like to ask why did this error happened ? And,  why after the re-submission the production has been successfully done without have to amend anything?

Below are the error that has occur.