Moses saw an Egyptian doing wrong to a Jew. So he defended the Jew and punished the Egyptian for hurting him. Moses killed the Egyptian.