Or.....the vet botched the operation. It happens...
I wonder if the cat might have had an undescended testicle that the vet left in place because it would have required more extensive surgery to reach (or maybe the vet couldn’t even tell if there was one present or not). If the cat was neutered at a shelter or through one of the super-low cost spay/neuter programs, this is a real possibility.