Since for electro magnets we need materials which can be magnetised to very high magnetic fields as well as there magnetisation can be removed easily.
And in soft iron it has very high saturation limits as well as low coercivity means it requires very less field in opposite direction to demagnetise it.