Are your hoses rubber, it’s recommended if so, that you replace them every five years. Have you seen or heard of stainless steel washer hoses? Becoming more and more popular, they are being installed behind hundreds of washers a day.
Rubber will eventually break down and become soft or brittle, when this happens it will create a soft spot or bubble on the fill hose. These hoses will burst sending anyone around into a panic, replacing rubber hoses will stainless steel could save you floor and pocketbook.
The local appliance parts house or hardware store should stock these hoses. Replacing this is relatively simple. Pull the washer forward, turn the water off, twisting the hoses off with a pair of pliers, when installing the new fill hose onto the valve, make certain that the threads are lined up, if not the metal threads on the fill hose will cross thread rendering the washer water valve useless.
Ensure the hoses are connected to the proper valve, the hot hose goes to the red and cold hose connects to the blue valve. Hooking them up backwards will cause a rinse or fill issue.