For the exact same reason a transformer works when it isn't grounded. Electromagnetic fields do not require a ground. But adding a ground to an AM radio does help to boost the signal (as does a long wire antenna to the top of the hot side of the ferrite coil).