Here's a bit of interesting scientific trivia for those who may be interested.
Ice is less dense than water. That's why icebergs float. If they were heavier they would sink to the bottom of the ocean. If the density was the same they would sink to random depths and be carried by the currents, but they float instead, because ice is less dense than water.
When you freeze ice cubes in a tray they freeze from the outside in. That's probably because the outside is chilled so it results in a slightly warmer interior, which takes more time to freeze. Strictly speaking there is no cold in physics, only heat, so this is more of a matter of the heat on the outside seeping out leaving a warmer center, which freezes last. (Heat is a type of energy. Cold is the absence of heat. There are no negative energies. Something that is cold simply has a relative absence of heat compared to its surroundings.)
As the ice in your tray freezes it expands and the volume of the cube increases. This increased volume has only one direction it can expand: up. That's why the ice cubes in your tray have a convex surface (domed up). The water froze and it pushed the excess water up, causing the top surface to increase, resulting in a dome on the top of the ice cube.
I have always loved science because it gives us rational explanations for many of the natural phenomenona that we see in our everyday lives. Things that we would have to otherwise explain as "that's just the way things are."