Moles can suddenly appear due to a variety of reasons, including skin cancer, a skin infection, or a skin reaction to a chemical.