That depends on the algorithm, some depend on randomness like IVs.
Maybe you are thinking of JWE?
If the signing of the JWT wasn’t deterministic, then it would be hard to verify.
If the signing of the JWT wasn’t deterministic, then it would be hard to verify.
Whereas generating new session ids will always need fresh entropy.