Fill up a vessel with water and freeze it. Note when it freezes it expands. It displaces the air around it. When it refreezes it does not refill the vessel. Ice berg same principle on larger scale.
The ice sheets in Antarctica and Greenland both rest on land.