Why cross compile if it's made specifically for macos?

Why compile it when it could be a bash script?

Why a bash script when it could have been a one-liner?