In Nonprofit cloud, when a Gift commitment is created, it does not create an initial gift transaction. This is because in fundraiser setting you don't have “Create Recurring Schedule Transaction” checked.
In Setup > Fundraiser settings
Check the box “Create Recurring Schedule Transaction”

If this “Create Recurring Schedule Transaction” checkbox is unchecked then the fundraising business process API is not creating the initial gift transaction record.