It’s not absolutely constant due to several variables that affect the levels of cosmic rays reaching the atmosphere, such as the fluctuating strength of the Earth’s magnetic field, solar cycles that influence the amount of cosmic rays entering the solar system, climatic changes and human activities.
When these organisms die, they no longer ingest C-14 (directly or indirectly) from an atmospheric source.
Carbon 14 decays at a particular rate and is not replaced.
Because the cosmic ray bombardment is fairly constant, there’s a near-constant level of carbon-14 to carbon-12 ratio in Earth’s atmosphere.
Organisms at the base of the food chain that photosynthesize – for example, plants and algae – use the carbon in Earth’s atmosphere.
They have the same ratio of carbon-14 to carbon-12 as the atmosphere, and this same ratio is then carried up the food chain all the way to apex predators, like sharks.