how is melting of ice is a physical change
Although some extensive properties (like shape, phase, etc.) of the material change, the material itself is the same before and after the change. The change can be “undone.”
The substances present at the beginning of the change are not present at the end; new substances are formed. The change cannot be “undone."