 For example, heating of rocks by sunlight or fires can cause expansion of their constituent minerals.As some minerals expand more than others, temperature changes set up differential stresses that eventually cause the rock to crack apart.Because the outer surface of a rock is often warmer or colder than the more protected inner portions, some rocks may weather by exfoliation – the peeling away of outer layers.