“For better cameras” like… I don’t see it. Back in the mid 2010s and late 2010s before the bump trend iPhone, Google and Samsung had the best phone cameras, and both were flat and with decent digital zoom and stability (for a phone). If you look at the photo samples for back then and compare it with now the difference is almost imperceptible.
That ugly bump makes big phones even harder to use and weight more now, plus if you’re one of those who never liked using a cover now I bet you’re forced to use one because of the added vulnerability of the bump.
Edit mid 2010s to late 2010s (until the camera bump appears around 2018)
The answer is here, but you just can’t fight physics. Light needs to come through a lens and hit a sensor. There has to be some significant distance, in relation to the thickness of the phone for this to work. Until camera technology advances and somehow produces a comparatively sharp image, we will be stuck with the bump. It’ll happen at some point I’m sure, but there is a whole bunch of tech that will need to change to get there.