The study underscores the dual challenge of transitioning to renewable energy while managing pollution from coal-fired power plants. Solar facilities located near coal plants face significant reductions in efficiency, undermining their potential to combat climate change. In China, the world's largest producer of both solar power and coal, the proximity of solar farms to coal plants has led to a notable decrease in solar capacity. Similarly, in Pakistan, aerosols reduced solar output by 15.1% in 2023, despite the country's rapid adoption of solar energy. These findings highlight the need for stricter pollution controls to maximize the effectiveness of renewable energy investments.