Mechanically, A is simply unable to see B. Narratively, the players and DM need to figure something out that doesn't sound absurd or break immersion. Perhaps B is in the rafters, hiding inside shadows, or is able to temporarily distract A.
I agree that mechanically it sounds really frustrating...