I don't believe the set-up here. Who wants to know? If it is the person asking the question, they would know whether or not they have been washing their hair recently. Otherwise, the question reads like some kind of riddle, or possibly a rhetorical question.
If the real intended question here is: "Why is your hair wet?" then "Because I have washed it" without further context might possibly be OK as an answer, but only because the listener will mentally interpolate the word "just". They would need to make such an interpolation because the statement "I have washed my hair" is true of pretty much every human being on the planet who has hair to wash. The statement therefore contains literally no information without further context.
It would be easy to think of circumstances in which that truthful answer might not in fact account for the hair being wet now: "I was just skinny-dipping in the pool with your wife", for example.
Consider, for example, both of the following statements that are in fact true of me:
- "I have shaved my chin"
- "I have a full beard".
There is a difference in meaning between the two formulations in the OP's question. That difference might not matter in some circumstances but would in others.