Cosmic rays are mostly near-light-speed protons from incredibly distant supernovae or black holes. As they reach the upper atmosphere they smash air molecules apart, the fragments of which hit us.

Cosmic ray origins