makes no difference in to why car a braked, as you as the following car should be traveling at a distance that you can stop. see the linked rules above
i dont believe it even comes into consideration when the insurance company looks into the accident, because more than likely no one got car A's details as they were not involved in the accident