Question: why do birds fly in front of moving cars?
Answer: They fly in front of cars because their instinct tells them that this is a dangerous predator needing distraction from a nearby nest, and the tactic works… for dangerous predators at least.