Magnetic permeability

What happens to the magnetic field of a magnet in the presence of a another material which is attracted to it. Why does this happen?

License: CC BY-NC-SA by Khan Academy