I don't know how this plays out specifically in psychosis, but ascribing intentionality in general, and specifically ascribing adversariality, seems like an especially important dimension / phenomenon. (Cf. https://en.wikipedia.org/wiki/Ideas_and_delusions_of_reference )
Ascribing adversariality in particular might be especially prone to setting off a self-sustaining reaction.
Consider first that when you ascribe adversariality, things can get weird fast. Examples:
Now, consider second that as things are getting weird, there's more grist for the mill. There's more weird stuff happening, e.g. Bob is pushing people around him into contexts that they lack experience in, so they become flustered, angry, avoidant, blissfully unattuned, etc. With this weird stuff happening, there's more for Bob to read into as being adversarial.
Third, consider that the ascription of adversariality doesn't have to be Cartesian. "Aliens / demons / etc. are transmitting / forcing thoughts into my head". Bob starts questioning / doubting stuff inside him as being adversarial, starts fighting with himself or cutting off parts of his mind.