https://docs.lightning.engineering/lightning-network-tools/pool/zero-confirmation-channels
This is an LND version explanation but essentially it's just both peers agreeing that a channel can be operational without the funding tx being confirmed and the node that is accepting the zero conf trusting the initiator to not double spend the funding tx.