What causes intrusive thoughts? Related conditions and treatments