Hey Bithiah. Sorry for the loss of your girl. That must be very sad for you. Nightmares and trauma are connected together. The nightmares do help us face emotions that we have difficulty processing.
This article speaks about this more.
How to Eliminate Recurring Nightmares | World of Psychology