Cross compiling is not unique to golang. It does make it pretty easy though.

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?