The core of an electromagnet or an electric bell is made up of soft iron and not steel because
Steel gets permanently magnetized whereas soft iron gets temporarily magnetized
An electromagnet is used as a Temporary magnet and hence has to get magnetized temporarily. As Steel gets permanently magnetized whereas soft iron gets temporarily magnetized we use soft iron and not steel.