Liquid changes into solid on cooling but the batter of a cake changes into a cake on heating in an oven. Why?