We don't know if Moses meant to kill the Egyptian. It may be that by Moses looking both ways means that he meant to kill the Egyptian , otherwise if he only wanted to separate them it would not have mattered if someone was looking. It may be also that the Hebrew told his bretheren that Moses killed the Egyptian and no one else saw Moses kill the Egyptian.
We don't know if Moses meant to kill the Egyptian. It may be that by Moses looking both ways means that he meant to kill the Egyptian , otherwise if he only wanted to separate them it would not have mattered if someone was looking. It may be also that the Hebrew told his bretheren that Moses killed the Egyptian and no one else saw Moses kill the Egyptian.