allow me to provide an explanation that I believe is correct.
In order for an ion to pass through a channel, it must overcome some "activation energy" due to the electrostatics between it and and amino acids lining the inside of the ion channel.
It is not necessarily the case that the energy barrier going out --> in, is the same as in --> out.
The inwardly rectifying potassium channel has a lower activation energy going out-> in, than in-> out. However, under normal physiologic situations, K+ is an order of magnitude lower extracellularly than intracellularly, so by mass action, you have more potassium leaking outward than inward (in spite of the greater activation energy).
In a situation where extracellular potassium is elevated, mass action is no longer strong enough to cause a net leak of potassium outward, and due to the lower electrostatic energy of approach, potassium flows inward.
This makes teleological sense, as you would want your cells to quickly correct hyperkalemia ('inwardly rectifying'), if K is being elevated in the plasma.