The explanation given was that someone else has already used them — which is true for one-time codes, where each key can only be redeemed once.
But there are other common reasons worth checking: the code may have expired, it may be for a different region or platform, or you may have mistyped it. Single-use codes are usually case-sensitive, so copy and paste rather than retyping.