I flashed another XA2.
My mistake/typo by testing on simple alpha passwords. They are working in recovery too.
But a more complex passphrase with a number and a special sign is not working in recovery whereas it is working to unlock the phone/partition in normal conditions.
E.g.:
“A b:1
” (without quotes)