The Gemara equates words of Torah to fire, which is not affected by tuma. But later on we learn that one may not recite words of Torah in a place which contains something impure – why don’t we apply the above concept there as well?
Brachos 22 – ברכות כב
1