https://github.com/alandipert/gherkin/wiki/Why-gherkin%3F
The short version is that bash is the closest thing to being universally available on every UNIXoid system no matter what, and so by writing stuff in bash, you make it so that it can run everywhere. But because bash sucks to program in, this is a minimalist interpreter for a sane language. You can then write programs in that language, and they will only depend on bash and on this interpreter, and the interpreter is simple enough not to need any sort of complex installation.
I can't quite think of a use case for this where it's not worth e.g. installing Python first, but it's an interesting project all the same.