Thor’s hammer got locked itself into magnetic fields. Since Magneto can manipulate magnetic fields, he would be able to move the hammer no matter where it is
but in main universe he was not able to lift it . Also he did not wield it

Scarlett witch changes the probability of events around her .she can’t lift the hammer . Only if she shake or lifts Thor holding the hammer then.

Magneto was able to use his magnetic powers. Thor’s hammer locks into magnetic fields, Magneto possesses the power to wield Thor’s hammer because Mjolnir locks itself into Magnetic fields

Magnet ho can create magnetic fields by which the mjlonir inbehaves but Scarlett witch controls the objects with her psychic powers with her mind powers and these type of powers have no impact on mjolinr

Thor’s hammer locks into magnetic fields and that is what magneto controls whereas scarlet witch controls the object which is why it wont work for her

Thanks guys earlier I thought both have similar powers but now I get the difference