iOS devices typically have a much higher DPI than a "normal" (though this is rapidly changing) screen.
Because of that fonts often look far better and "truer" to their original intentions, Macs/iOS have always favoured fidelity over legibility (when pushed) so it is perhaps not surprising they both look good.