I am hot then cold, a liquid then solid, and I am at once flaky and wet. What am I?

Image of Riddle Question

Can you solve this riddle without clicking that tempting answer button?