This is not related to confirmations but to the way you construct the transaction. Sighash all is the common form of signing all inputs and outputs of the transaction in the witness of the input.
Maybe you somehow constructed a weird transaction with some advanced features.
