Why do the American people have different accents?

Americans like every one else picks up on how words are pronounced from those around them at a very young age. And just like other countries, it differs within the country itself for the same reasons.