I'm stuck at the rotation of the lid using the Rotation fields in the Transform panel

In the tutorial when we are trying to rotate the lid to align with the rest of the chest, in the Rotation section of the Transform panel there is a number in the X axis field, but the Y and Z fields are at zero.


In my file when I select just the metal of the lid, the fields look like the tutorial and when I follow the commands in the tutorial the metal part of the lid rotates correctly to align with the chest. However when I select both the metal of the lid and the wood of the lid there are numbers in all of the axis fields, and when I follow the commands in the tutorial the number changes in the Y field but not in X or Z, and the metal and wood lid go to the wrong angle. I'm not sure what I did to the wood part of the lid, but any advice would be appreciated!