Can bronchial spasms be contagious?

NO. Bronchial spasms are charcteristic of what is called asthma. They affect small caliber tubes that have a muscle layer than can be sensitve to different stimuli such as allergens, cold temperature, viral infections, drug reactions etc.. They are not contagious but can have familial predisposition.