There's no evidence the 6-digit passcode was the issue here. It is more likely the thieves immediately turned off the device then used an (offline) chain of vulnerabilities to pull sensitive data off the phone. That's typically how these hacks go.
If no vulnerabilities are available, the thieves will often just keep the phone offline until one becomes available.