The flashback looked like their first encounter, Azami checked Hinako blood and just then confirmed that she was affected by Shiori, and it's clear it happened after Hinako family death
Why didn't she give the sword to Alicia? This manga it's going a different route from other versions where she became a friend to Alicia. It's the perfect set to give the sword.