The hot water hose came free from the washer last night. Do I need to replace the inlet valve? Is this a simple thing to do?
The threads appear to be slightly damaged due to cross-threading or impact during transport or installation. This doesn't warrant a valve replacement, however.
Use a triangular file or other tool to trace the threads and remove any material that prohibits proper alignment of the hose threads. As a last resort, simply cut off the first few threads with a hack saw or rotary tool.
The rubber washer in the end of the hose makes the seal, so the condition of the threads isn't critical as long as it allows you to tighten the hose. There's no doubt in my mind that the threads shown in the photo are up to the task.