Once a script is created, it moves through different status in different phases.
To know more on creating new scripts, refer Create Scripts.
As soon as the script is created, it is moved to Pending Test status.
Before executing the script on any production asset, the script is tested on Test Asset, hence the status appears as Pending Test initially.
Executing a script is not possible unless the script is approved.