From なんで (nande, “why”) + や (ya, “copula particle”) + ねん (nen, “emphatic particle”).
なんでやねん • (nandeyanen)
Often also used by people from other regions in a jocular manner.