It's case law. Judges decided, years ago, that if you hit another vehicle from behind, you must have been driving too close to them.it's a bit like a car accident it's always the person behind that gets the blame even if the muppet in front slams on their brakes for no reason
Insurance companies love it as it removes all the hassle, probably in court with expensive solicitors and barristers, of deciding who was at fault.