Bacterial infections can spread quickly, especially in hospital settings or crowded communities, where vulnerable people are treated in close proximity and bacteria move between them.