An exchange or gambling site may ask for KYC during withdrawal. It is common when a user violates their rules. Most sites only ask for kyc when a user has money laundered by exceeding their withdrawal limit. Or when someone breaks the rules . It sounds like one of these happened to you so the site asked you to kyc .