Musicologist: Classification of a musical instrument depends on the mechanical action through which it produces music  So the piano is properly called a percussion instrument, not a stringed instrument
Even though the vibration of the piano' s strings is what makes its sound, the strings are caused to vibrate by the impact of hammers
Musical instruments should not be classified based on the way musicians interact with them.