You're referring to the 2012 movie "2012" directed by Roland Emmerich!
As the solar flares intensify, the Earth's tectonic plates begin to shift, causing massive earthquakes, tsunamis, and volcanic eruptions. The characters must navigate the treacherous landscape, facing numerous challenges, including collapsing buildings, raging fires, and marauders. 2012 end of the world movie
Visuals and Special Effects
While the film takes creative liberties with the science, it does touch on some real theories: You're referring to the 2012 movie "2012" directed