Phones with replaceable batteries use plastic, and people really hate plastic (they use "cheap plastic" as a synonym for "plastic"). So they rather buy a phone that is a little bit slimmer and has a glass back.
(Manufacturers probably also like phones that have to be replaced in a few years due to battery age.)
(Manufacturers probably also like phones that have to be replaced in a few years due to battery age.)