An icon is kind of “visual shorthand”: a way to leverage peripheral vision and pre-attentive processing so a user can understand a control's purpose in milliseconds.
The user won't learn a UI from icons alone, but once learned, distinct icons speed up recall massively. The problem with the modern trend of hyper-homogenised, uniform icons is that they destroy this advantage. When every icon has the exact same stroke weight, color, and geometric bounding box, they blur into a useless mush.
Homogenizing the icons is a form style over substance — giving up said advantages to make the whole look 'prettier'.
xOS '27 basically miseducates users into doing that by offering to give the Dock or Home Screen icons of the same color.