I always thought pinging could also be caused by ignition timing is off especially when changing cams and motor is high compression. My two cents!
Yup sure can.
It can be fuel, can be timing, it can also be a combination of compression, early intake close and all the rest.
Quick closing intake on a cam with too much compression will yield detonation. So the compression you thought would make you more power will end up being negated by all the timing you have to pull so the motor doesn’t ping. It’s a balance as well as having a tuner that knows their stuff.
A lot of folks tune their bikes where there is elevation and they tune them to make the most power they can. (lots of compression/timing). Then they come to sea level areas like Daytona and ping badly. Yet at home they get away with it.