Birds and fish are not what you'd call smart, yet they display incredibly advanced and intricate behavior when attacked. How can such simple creatures do something so complex?