The smallpox vaccine leaves a scar because it causes a minor infection in your skin. Your body fights off the infection, but this process leaves behind a small mark on your skin where the infection (and related inflammation) took place.