Autotrophic behaviour depends on the ability of the cell to carry out photosynthetic or aerobic respiratory metabolism, which are the only processes able to deliver sufficient energy to maintain carbon fixation. The Calvin cycle is used by bacteria to synthesize organic compounds.
This question has a two part answer. The first part is that an asteroid hitting the earth and the second part is massive volcanoes erupting around the world.