It had a bad ground if I were guessing.
Could be, but the right taillight worked just fine for the new owner who did nothing to address the issue.