*fire* is derived from the Ancient Greek *πυρ*. My question is: how did the plosive become a fricative?

I believe *pyre* is also derived from *πυρ*; why is it that *pyre* didn't also undergo this "fricativisation"?