Or when phone manufacturers realise they may as well do so, at least on some models, because why not. And yes, the battery compartment can be waterproof with a rubber seal... but even so? Many would prefer battery swap to full waterproof, if that was the cost.
The objective is to reduce e-waste, where phones whose only issue is the battery ends up in the trash / recycling, instead of continuing to be useful.