If an animal does something we call it instinct if we do the same thing for the same reason we call it intelligence.