Wash-sale rules (notably in US securities tax) prevent claiming a loss if you repurchase a substantially identical asset around the sale date.
Whether and how wash-sale rules apply to crypto differs by country and can change. Do not assume equities wash-sale logic automatically maps to tokens.
Educational definition — not tax advice. Rules vary by country.