Pugs have wrinkles due to a genetic mutation that affects the production of collagen and elastin, the proteins responsible for skin strength and elasticity. The mutation in pugs leads to excessive collagen production, causing the skin to become thick and loose, which forms the characteristic wrinkles.