Way back when I did grad physics and EM theory, we learned that you could make radio waves by waggling electrons up and down in a piece of wire. Nothing much has changed, we still do it. And its still true that the length of the wire has to be of the same order as the wavelength you want to produce, to get any reasonable radiation efficiency.
But of course we also learned ( in a different branch of physics called QM ) that atoms make EM waves called photons by stepping electrons up and down through energy levels within the atom.
I never thought to ask, how come an atom, with a 'diameter' around 1e-10 m can produce ( and receive ) a photon with a wavelength of the order of
1e-6 m.Interesting question ?
I thought of posting this in sci.physics, but the S/N ratio there is a bit low.