A teenage boy was arrested for second-degree murder after shooting at a west Phoenix apartment complex, Phoenix police said.