Frididaire Washer will not fill with water

Washer will not fill with water. Worked yesterday for one load and then the next time, it will fill with water. Everything else seems to work. It agitates, tries to drain, etc.

We unhooked the water lines to clear any gunk out of them. Checked to make sure the door is shut, etc.

It doesn’t matter if cold or hot water is selected - it won’t fill.

What can be causing this? PLEASE HELP!