Blood can transmit
Blood contact very rarely can transmit syphilis
It probably requires much more blood than possible during sexual exposure, shared needles, etc, but transfusion can do it, especially with non-refrigerated blood products. It's extremely rare and even without testing, probably there would be few if any cases, at least in the US. OTOH, testing is easy, cheap, and ingrained by history and habit.