That sounds really terrifying, Uchuuko. I'm glad a collision was avoided. I hope you and your mom are felling a lot less shaken up by it. It's awful to go through.
If it helps, it's incredibly difficult to flip over a car. Your mom would have had to hit something for it to have had happened.
Thankfully, I've had a good driving week lately. I drive a small 1.2 litre car. So I tend to have people just pull out on me at junctions because they assume I'm driving 10 miles under the speed limit - I'm not.
It's lucky I have fast reactions otherwise I would have ended up in some nasty crashes otherwise.