Here’s a thought: this bird is related to the common sparrows that are plentiful in South Dakota. The evolutionary difference between this colorful bird and a sparrow is the environment their ancestors developed in. In the case of the sparrow, there is plenty of brown.
In the case of this Mexican bird, though, the tropics have much more color, such as Hawaiian shirts and colorful bikinis. It’s all about blending in . . .