When ice melts, it turns back into water.

Literal

Ice [topic-は] melting [conditional-と] water [to-に] returns.

解けると水に戻る — 解ける is an alternative kanji for とける. 戻る ('to return') adds the nuance of returning to an original state. と conditional for natural law.