Gas clouds from tidally disrupted stars in active galactic nuclei