At one point in time specific vaccines contained non-kosher ingredients such as pig gelatin or human cells.  As I understand it you aren’t consuming the vaccine so its status doesn’t matter but  some play it “safe”.