Why force on moving charged particle due to magnetic field?

why the magnetic field exerts force only on moving charged particle even though a metal piece at rest also experience a force due to magnetic field?
2 answers 2