A man is hanging by a rope in a room and the only thing in the room is water on the floor how did he die?

He hung himself by standing on a block of ice. When the ice melted, forming the water, he died.