Peacocks have evolved to have long, colorful feathers simply because peahens have evolved to find them attractive.
Los pavos reales han evolucionado hasta tener largas plumas de colores sencillamente porque a las hembras les resultan atractivas.