We don’t know if melanoma is becoming more common. We also don’t know why dogs get it. Unlike people where sun exposure is clearly the big risk factor, no such risks have been identified in dogs. Some breeds are predisposed, apparently, but the genetic causes haven’t been identified.