weird rotation

Hi all,
I recently created one of those DIY wooden planes consisting of several wooden pieces that you have to put together. The moddeling went fine, and now I want it to be animated into the assembly. however, if I try to make the first piece rotate, it rotates in a way that I haven’t told it to. why is this?

Many thanks to the ones that can help me with this.