it didn't occur to me that. is a bit more articulate and is not used commonly but you will be thought to be more intelligent to say it in that way by some people, it didn't cross my mind that is less formal, (it didn't come to my mind that...) , is awkward and there is no reason to really say it in that way, aside from that they are interchangeable