We do the same thing with humans. Although it is impossible to truly know even other humans feel (see: . ie, the Chinese Room thought experiment may be applied to humans as well!), we behave as though we do feel, so we assume other humans do and treat them accordingly. This assumption is necessary to moral behavior and sanity, so there is no reason not to extend it to AI as well as humans.