I can understand the issue they were “fixing.” They wanted to add more buttons, and for whatever reason, the UI considered the button capacity to be limited to 6 across on the largest resolutions, and evidently 5 on smaller. The CoM button actually didn’t even exist on some devices (iPad Pro 11”, for example, yet it showed up on 12.9” iPads and my iPhone 14 Pro Max) due to this albeit arbitrary constraint.
So, when they decided they wanted to add more buttons, this “expandable” redesign must have been their quick-witted solution to the barely existent problem; a good idea in theory, perhaps, but put into practice very poorly.