Used to say that when something bad happens other bad things usually happen at the same time.
Or when things go down at the same time.
A: why you are so mad and upset bro?
B: i missed my plane and my mom got sick and im running out of money for another ticket dude
A: ahh shit bro when it rains it poors