Why can't we remember dreams?

It seems like a pact with the devil. As soon as you're in a position to record a dream, it starts to disappear