I fail to see the issue. Apple broke the phone during a repair and replaced it I assume for free.

Something to last a couple of hours became a change of phone with a mandatory round trip to Apple. Apple themselves are sometimes not able to properly repair their own allegedly repairable phone.

I see a lot of issues here personally.