Can a bitcoin transaction get confirmed unexpectedly?
Absolutely. There are cases of transactions remaining unconfirmed for several days and then getting confirmed.

If the transaction was ever broadcast and is still valid, it can be included in a block by any miner who wishes to include it.