Safari on iOS does have ads blocking, e.g., AdGuard, Wipr, 1Blocker. It doesn't work so well versus uBlock Origin, ofc.
Alternative browsers don't have that much control over what's rendered, so they are probably using the same content blocking functionality baked into Safari.