Meteor impacts. They contribute to climate change especially in the geological past. They can cause dust and aerosols being ejected high into the air that will definitely prevent the rays of the sun from getting through.
The impact that is the dust and aerosols and also gasses as the carbon dioxide, methane $ water remain in the air and may lead to the increase of global temperatures. The impact might last for years.
I hope I helped