An examination of the environments impacted by high-mass stars and their formation