Can someone tell me why the left/ western media did a complete 180 overnight?

How did Ukraine become the best and most wholesome country the second the war started? How come the media went from hating them for being Nazis to loving them literally over night? How did this happen?