The FILTER function extracts every matching record while XLOOKUP only returns the first result.
I traded the static results of Flash Fill for dynamic formulas that update automatically.