In Nonprofit cloud, when a Gift commitment is created, it does not create an initial gift transaction. This is because in fundraising setting you don't have “Create Recurring Schedule Transaction” checked.
In Setup > Feature Settings > Fundraising > Fundraising 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.