Origin of temperature dependence in tunneling magnetoresistance