Crohns disease: is the anal gas infectious like a cough to people?

No. Crohn's disease is not an infectious disease. That being said you can have a GI tract infection on top of the crohn's especially if you have been treated with antibiotics and this infection can be contagious from contact with your stool. In general the gas or flatus should not be able to spread any infection without direct stool contact.