ADXL 335 Accelerometer incorrect Output. z and y axes always the same
Perhaps the Z and Y axis output pins are shorted together.  Measuring resistance between them with the power off might be informative.