Why was Yoda behaving that way?
Yoda in TLJ was behaving like before he revealed who he really was in Empire.
Which makes no sense.
After he reveals that he is the great Jedi Master that Luke had been searching for he began acting "normal"... it's even weirder in TLJ since he's a ghost now.