Nobody knows for sure, but the postmortem suggests that it might have been straight up incompetence. However, it's certainly possible to consider that the "incompetence" was on purpose to hide the fact that he was stealing from the company.
https://www.youtube.com/watch?v=l70iRcSxqzo