In all sincerity, I think it has to do with geographic location. Grey is more popular in the UK and Gray is more reddily used in the US.
Before I looked it up, I thought it had to do with how your grade-school teacher taught you to spell grey and how you had seen it in books. Never a dull moment. :) :)