Kotlin is statically typed, whereas Groovy is not. Statically typed languages like Kotlin enable IDEs to support particular tasks much better:
- auto-completion and content assist
- quick documentation
- navigation to source
- refactoring and more
This is a great advantage that Gradle sees and therefore started with Kotlin as an alternative to Groovy.
There are also some official statements which you can find here.