Either you put it in and forgot about it, or the message is actually asking you to change the four-digit passcode to a six-digit passcode.
If you forgot the passcode for your iPhone, iPad, or iPod touch, or your device is disabled:
https://support.apple.com/en-us/HT204306