They're built after humans, everything they've learned is from human culture, so there is no way AIs could have a consistent moral system or would never commit crimes.