How does TXID gets created and at which point I see TxID in bitcoin transaction input as reference of the UTXO. How does TXID gets created and at which point, wallet or node?
The TXID, the transaction ID, is a hash of the serialized (non-witness) transaction whose UTXO is being spent. It gets created at the same time as the transaction does