Why did Eugene Stoner create the M16?

Eugene Stoner invented the M16 because the military was looking for a reliable rifle. Eugene heard that and went to work on the rifle. The military loved it so they adopted the gun and mass produced it for the soldiers on the front line.