Amazon.com Inc. flamed out with critics and consumers last year in its first attempt at a smartphone. Now, rather than forge ahead, as it has with other projects, such as its Kindle tablets, the online retailer is retrenching.

In recent weeks Amazon has dismissed dozens of engineers who worked on its Fire phone at Lab126, its secretive hardware-development center in Silicon Valley, according to people familiar with the matter.

...