Whooping cough is not caused by a virus, as it is a bacterial infection caused by a highly contagious type of bacteria known as Bordetella pertussis. Whooping cough is typically caused by person-to-person transmission when an individual with whooping cough spreads the bacteria to another person through sneezing, coughing, or close contact where both individuals share the same breathing space.