When energizing a solenoid, why does an iron object travel along the axis of the solenoid?... and why does it typically get sucked inward no matter the polarity of the solenoid windings?
This is a similar question: Why do relays work with both polarities? How does energizing the coil cause...