Perhaps this is intentional as a balance consideration, but if so file it under tooltip issues. Traders are flagged as cavalry in the interface but neither Camel Riders or Spearmen get an attack bonus against them. They’re cavalry for the purposes of other things like the Biology tech.
Thanks @enept1679! Good catch—should be an upcoming fix for this one. Appreciate the report!