zsh: bad CPU type in executable: node

I have installed nvm using brew. After that, I installed node version of 16 through nvm and check the current version using node -v to see whether the node is working properly. However, when I install version 14 or any other previous versions and runs node -v, it gives this “zsh: bad CPU type in executable: node” message and I have no idea what to do about this, though, installing node v17 and running node -v works as expected. Below are the snippet of the said commands.