Nipple pain and soreness are often caused by improper latch, but other factors such as thrush (a fungal infection) or mastitis (breast tissue inflammation) can also contribute. It's important to address these issues promptly through proper latch techniques, maintaining breast hygiene, and seeking medical treatment if infections are suspected.