your brain must be running really hard in your sleep in order to do that
I only do it sometimes. I'm sleep lightly and I was told that because of that my hearing stayed in a "standby" mode. But it shouldn't be considered a problem since it doesn't happen to me regularly.