Earth's magnetic shield weakened around 41,000 years ago, resulting in increased bombardment of our atmosphere by energetic charged particles called cosmic rays.

Source: Earth got hammered by cosmic rays 41,000 years ago due to a weak magnetic field