Animal behaviour

An animal gives a false alarm call only when a rival approaches its food, causing the rival to flee. What is this behavior?