Why are there stalagtites in my ice cube tray?

I learnt something very similar from an Enid Blyton book. Stalagtites have to stay tight to the roof, and stalagmites might one day reach them.

well, I am using bottled water.