PTSD and other results of trauma do not require a memory of the thing happening to you. In fact often people don't remember the thing that caused the trauma.
It's enough that your nervous system adapts to the unsafe environment. It doesn't have to know why.