Sometimes, the spirits roam the Shadowlands without resting. It can be because their resting place wasn't complete, because of a battle in their resting place or because of the corruption of their resting place. To bring eternal peace to the souls, it is needed to destroy the source of corruption or by making a ceremony with items such as [Tuskarr Ritual Object]. A spirit in the Shadowlands can, with enough power over other souls, tear a hole into the living world once they are strong enough. This is how Jin'do returned to Azeroth.
In the opening cinematic, Sylvanas shatters the Helm of Dominion, breaching the veil between the material realm and the Shadowlands, an ancient dimension where the dead coalesces for judgment. Sylvanas' actions have upset the natural balance between life and death, and it's on players to enter the Shadowlands itself and repair the cycle before it is too late.
The origins of the Shadowlands remain uncertain, but they have existed ever since mortal life first arose in the physical universe. They span all worlds, including Azeroth, on which Icecrown serves as an anchor to the Shadowlands. There are those who believe mortal souls are drawn into this dark place when they die, remaining there forever. Others hope their souls will go on to a brighter place rather than languish for eternity within the cold confines of the Shadowlands.