When I say 'why did you...' I just want to know the reasons. When I say 'why would you...' I am somehow more interested to know about the frame of mind
you were in - the reasoning behind making up such a story. The inclusion of 'would' makes the question somehow more psychological, I think.
Student or Learner