Several factors can lead to this problem, including a defective water inlet valve, a clogged filter, a frozen water line, a ...
A refrigerator's water inlet valve tells water where to go and when to go there. A defective water inlet valve may allow water to flow when not intended or send water places it shouldn't go.