What could sore nipples on a 30 year old man?

Many caused. Soreness of the nipples on a male could be the result of many things from chaffing to eczema to gynecomastia (swelling of breast tissue) to something more serious. I would make the effort to have this checked out by your doctor.