Your washing machine may backfill with dirty water due to backflow. This can happen because of clogged drain hoses, blocked air gaps, low water pressure, or faulty washing machine water valves. It's essential to diagnose the issue and take appropriate measures to resolve it.