The correct option is A horizontal component of earth’s magnetic field
When the bar magnet in vibration magnetometer is displaced from the earth's magnetic field , the torque acts on it to allign it with the earth's magnetic field . So the earth's magnetic field is the restoring force.