Washer makes noise, spins won't drain

My son has a fridgidare washer dryer combo, that at times will not drain the water. The washer agitates and spins. There is a noise that is coming from inside the washer cabinet. Now, when the noise stops the washer will drain. Is this a bad pump?