Viruses and bacteria cause illness, not cold temperature itself. However, cold weather leads people to spend more time indoors in close proximity, which increases transmission of infectious agents. The statement correctly identifies that being indoors more is the actual mechanism.