Every once in a while something like this comes up that reminds me how incredible Apple can be at engineering, and how much attention they can give to the details, when they really try. It's so strange to contrast this with, say, the egregious regressions that so commonly happen in their OSes.
There's a trope that management always prioritizes new features over mitigating tech debt. I'm sure that happens on some teams, but without inside information it's a bit of a leap to assume that's what's responsible for this specific set of problems at this specific company.