Maytag washer

Hopefully someone can help me. My washing machine is splashing out water over the top of the tub inside. During the normal wash cycle, the agitator is working properly but the tub is turning as well, causing the water to splash out. What is the problem?