The surface and tumor mucin solutions exhibit an elastic response in the presence of bacteria. Here, MUC5AC is linked to neoplasm.