Infectious agents like bacteria, viruses, and parasites can cause epigenetic modifications in host cells. For instance, viral proteins can target host cell machinery to induce DNA methylation or histone modifications, which can suppress or activate the expression of certain genes. This can, in turn, affect the host's immune response and the pathogen's ability to persist and cause disease.