On the Evolution of Thermally Stratified Layers at the top of Earth’s Core