These behaviors might seem strange to us humans, but there's an explanation for them.