It is called emotions. You lose something important to you, you want the whole world to know. Human nature-don't go trying to place blame based on the timing of information.
Every company has it's standard operating procedures on how to handle these types of situations to minimize it's exposure. 
Think about it next time.