It's also 10x easier to achieve IP67 water resistance with the battery sealed off. Having a removable battery would require more engineering contrary to shareholders' wishes.
This also contributes to the bulk of the device. IIRC, at the time things shifted to sealed designs, Apple and others were competing to make phones as thin, wide, and tall as possible. But that's not really an excuse; we can probably do better nowadays.