Gdscript is a lightweight language, it wants to be fast. They explain the goal of the language in their doc and why they didn't use something else.