https://www.cnet.com/news/game-of-thrones-season-8-one-key-battle-of-winterfell-detail-you-missed/
Thought this was interesting.
"Before Arya lunges at the Night King, we see Jon Snow trying to make his way into the godswood, where Bran Stark and the Night King are. The path is blocked by Viserion, the White Walker dragon. Jon tries to run past him, but he's spotted by the dragon. Jon ends up trapped behind the battered remnants of a wall and decides, with nowhere left to run, to confront Viserion. Except he doesn't raise his sword, he just stands up and yells.
Here's what you may have missed: Jon yells "Go!" One long one and then another short one. In the very next scene we see one of the White Walker's hair flicker in wind -- wind created by Arya as she makes her way to the Night King.
In other words, Jon saw Arya and distracted the dragon so that she could make her way through.
Not only would this make sense in terms of clearing a path for Arya, it would also absolve him from the stupidity of trying to kill a dragon by yelling at it."