Bonobos have it all figured out.
Something scary happened a few trees over? Sex!
A logging vehicle spotted in the distance? Giggity!
Little timmy fell down the well? ❤️
Some hairless ape left an empty cardboard box on the ground? Cue the porn groove.
Chimpanzees encroaching on you territory? Let's outbreed them!
EDIT: The downvotes are from chimpanzees.