The cyclical activity of the Sun as well as other variations in solar and earth activity, and NOT anthropogenic CO2 emissions, are responsible for climate change
Solar energy output does change slightly over short-term as well as long-term cycles. However, the expected effects due to these natural cycles are far below the threshold that could account for current climate change.