That is why we need to suspend judgement until all the facts are available.
Moses did not know who the boat belonged to or why it was sunk.
He did not know who the child was and why he was killed.
He also did not know why the wall was repaired.
He was missing information so he misunderstood what was done.
The wise man had to explain the meanings to him.