Tumah happens when we disconnect from Hashem, even momentarily. Our minds are our instruments of connection. Sources