You weren't able to stop safely to avoid striking the vehicle in front of you. That can support an "unsafe speed" ticket. If you go to court and claim that you weren't paying attention to the road and thus caused a rear-end collision, that might support an even more serious traffic charge.

