After a machete whack or during an aphid attack, their serotonin levels change (yes, they have serotonin, along with a number of neurochemicals that are common in animal nervous systems), and they start pumping out emergency messages to their neighbours.