Barry being in the scene is the writers wanting you to think it's Felicity even though it's clearly not because…
1. Barry would have been more distressed at losing one of his good friends, instead he's not so much grieving as just comforting a friend.
2. We don't know what brought Barry to Star City (is that Star…