Several factors can cause this. One of the most common causes is a broken dip tube. It will help if you didn't lurk around your water heater, trying to find out the cause. It's best to call on an expert to check the heater. In some cases, you'll need to plan for a new water heater.