Why plants panic when it rains