Complex trauma can arise in any situation where you feel an ongoing sense of fear, horror, helplessness, or powerlessness over an extended period of time, with the perceived or actual inability to escape.
It usually stems from trauma you experienced in childhood, though it can develop from trauma in adulthood as well.