This is usually coordinated. PR talks to a friendly outlet, gives them the exclusive on the story with the caveat that the timing is released a few minutes after employees have been informed. This lets them get correct information out, control the narrative, and gets the friendly news outlet an exclusive story. Generally speaking, it's also done to be respectful to the people who just got laid off.