Inductors oppose changes in current. Since DC is constant, it passes through effortlessly after an initial transient state. High-frequency AC changes direction incredibly rapidly, creating a massive back-EMF, causing the inductor to act as a barrier.