Do you flop around in your sleep? Sleepwalk?
I'm trying to imagine how anyone can hit their forehead when sleeping and hard enough to make a bump and not wake up at the time..
Treat the symptoms for now and don't over think or stress about it..
Try some ice on the bump .. warmth for neck if it helps..
Tylenol / Aleve or such for any discomfort.