This is almost always caused by a failure of the water inlet valve, although there is a small chance that it could be a failure of the control board or wiring between them. If you wanted to narrow down the issue, you would need to do a live voltage test while the washer is calling for cold water to see if the valve is receiving power. If the valve is receiving power but not allowing water through, then the water valve is bad and needs to be replaced. Let me know what you find.
Water Inlet Valve - 137353500 (PD00036732)