Sometimes, this happens because the person's immune system did not respond to the vaccine (it did not "learn" how to fight off the disease after the person got the vaccine). This may happen because the person's immune system is already weak (for example, because of diabetes, HIV infection, old age, or steroid use). It may also happen because the person's immune system cannot make the particular B cells which make the antibodies that stick to the pathogen.