A person who God considers spiritually unacceptable or defiled is spoken of as if the person were physically unclean.
"because you have touched a dead body"