Surgeons don't wear masks to prevent the spread of airborne diseases. They wear them to prevent spittle going into an open wound and to protect themselves from blood splatter.
If they wore masks to prevent airborne diseases, they would wear them when meeting patients, not just during the operation.