Leylin is smart, she is managing the land and its people after all.
It's just as the audience we see stuff behind the scenes and get to read other people's thoughts.
So we have information Leylin doesn't, so we judge her actions too harshly.
Which is actually illogical of us.
Since, Leylin can only act and judge based on the information she has.