I think their are energies who wish to communicate this way. I believe the shouting comes from trying softer tones without reaction from you. Finally, out of frustration, the energy/spirit shouts. This gets your attention. Unfortunately, it also wakes you up.
The key is to listen to voice before its shouting. 😅