What is the cause of the following sentence?

The child became immune to the disease.
He received the vaccine for the disease.