Why AI Systems Behave the Way They Do